Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009036/0.0009036, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000962/0.000962, allocations: 159.6 kB / 24.99 MB, free: 8.797 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9492/0.9492, allocations: 177 MB / 205.2 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2394/0.2394, allocations: 34.86 MB / 296.6 MB, free: 488 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=13000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=13000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 378 MB, free: 3.109 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.225e-05/2.373e-05, allocations: 10.19 kB / 378.1 MB, free: 3.098 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter): time 0.01911/0.01913, allocations: 20.74 MB / 398.8 MB, free: 14.26 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.009549/0.02868, allocations: 6.118 MB / 404.9 MB, free: 8.121 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001598/0.03028, allocations: 174.9 kB / 405.1 MB, free: 7.949 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0021/0.03238, allocations: 1.377 MB / 406.5 MB, free: 6.562 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003138/0.03552, allocations: 2.034 MB / 408.5 MB, free: 4.516 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00156/0.03707, allocations: 1.278 MB / 409.8 MB, free: 3.234 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004073/0.04115, allocations: 6.43 MB / 416.2 MB, free: 12.78 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002578/0.04373, allocations: 2.94 MB / 419.1 MB, free: 9.754 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003702/0.04743, allocations: 4.347 MB / 423.5 MB, free: 5.398 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002818/0.05025, allocations: 3.18 MB / 426.7 MB, free: 2.211 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006349/0.05088, allocations: 0.7851 MB / 427.5 MB, free: 1.426 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001162/0.05204, allocations: 1.077 MB / 428.5 MB, free: 356 kB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001266/0.05331, allocations: 2.034 MB / 430.6 MB, free: 14.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001606/0.05491, allocations: 2.315 MB / 432.9 MB, free: 11.98 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00422/0.05913, allocations: 5.483 MB / 438.4 MB, free: 6.484 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.05914, allocations: 0 / 438.4 MB, free: 6.484 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.05914, allocations: 0 / 438.4 MB, free: 6.484 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.07e-05/0.05918, allocations: 0 / 438.4 MB, free: 6.484 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1347 * Number of variables: 1347 Notification: Performance of Generate backend data structure: time 0.1413/0.2005, allocations: 6.953 MB / 445.3 MB, free: 99.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.2005, allocations: 10.78 kB / 445.3 MB, free: 99.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003152/0.2037, allocations: 1.595 MB / 446.9 MB, free: 99.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003685/0.2074, allocations: 3.411 MB / 450.3 MB, free: 97.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001539/0.2075, allocations: 388.9 kB / 450.7 MB, free: 97.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004323/0.208, allocations: 0.5089 MB / 451.2 MB, free: 97.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005241/0.2132, allocations: 4.111 MB / 455.3 MB, free: 95.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.537e-05/0.2133, allocations: 17.89 kB / 455.4 MB, free: 95.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002783/0.2136, allocations: 207.2 kB / 455.6 MB, free: 95.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001401/0.2137, allocations: 241.7 kB / 455.8 MB, free: 95.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003604/0.2173, allocations: 1.961 MB / 457.8 MB, free: 95.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01532/0.2326, allocations: 16.83 MB / 474.6 MB, free: 85.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003237/0.2359, allocations: 2.71 MB / 477.3 MB, free: 84.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001485/0.2373, allocations: 1.114 MB / 478.4 MB, free: 84.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004986/0.2423, allocations: 3.702 MB / 482.1 MB, free: 82.72 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.2424, allocations: 59.36 kB / 482.2 MB, free: 82.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=205): time 3.567e-06/0.2424, allocations: 1.062 kB / 482.2 MB, free: 82.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=222): time 0.009191/0.2516, allocations: 5.731 MB / 487.9 MB, free: 80.37 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.2516, allocations: 74.44 kB / 488 MB, free: 80.31 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002526/0.2541, allocations: 2.275 MB / 490.2 MB, free: 79.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001097/0.2542, allocations: 61.95 kB / 490.3 MB, free: 79.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001061/0.2553, allocations: 2.547 MB / 492.9 MB, free: 77.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004014/0.2557, allocations: 0.8199 MB / 493.7 MB, free: 76.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005375/0.2562, allocations: 0.5385 MB / 494.2 MB, free: 76.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.616e-05/0.2563, allocations: 477.5 kB / 494.7 MB, free: 75.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000743/0.257, allocations: 438.1 kB / 495.1 MB, free: 75.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/0.2581, allocations: 1.752 MB / 496.9 MB, free: 74.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001981/0.2601, allocations: 2.412 MB / 499.3 MB, free: 71.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.37e-05/0.2601, allocations: 12 kB / 499.3 MB, free: 71.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.00317/0.2632, allocations: 2.632 MB / 0.4902 GB, free: 69.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.2633, allocations: 16 kB / 0.4902 GB, free: 69.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.654e-05/0.2633, allocations: 32.59 kB / 0.4902 GB, free: 69.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006918/0.264, allocations: 365.3 kB / 0.4905 GB, free: 69.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/0.2653, allocations: 0.6744 MB / 0.4912 GB, free: 68.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003724/0.269, allocations: 10.5 MB / 0.5015 GB, free: 57.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/0.2701, allocations: 165.9 kB / 0.5016 GB, free: 57.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/0.2702, allocations: 128 kB / 0.5017 GB, free: 57.39 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 129 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (345): * Single equations (assignments): 338 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%), (1,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008109/0.271, allocations: 344.8 kB / 0.5021 GB, free: 57.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003289/0.2713, allocations: 386.4 kB / 0.5024 GB, free: 56.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002715/0.2741, allocations: 2.093 MB / 0.5045 GB, free: 54.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/0.2741, allocations: 20 kB / 0.5045 GB, free: 54.87 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/0.2741, allocations: 12 kB / 0.5045 GB, free: 54.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.877e-05/0.2741, allocations: 11.34 kB / 0.5045 GB, free: 54.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006306/0.2804, allocations: 5.611 MB / 0.51 GB, free: 50.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.2804, allocations: 4.469 kB / 0.51 GB, free: 50.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008169/0.2812, allocations: 375.4 kB / 0.5104 GB, free: 49.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001029/0.2822, allocations: 0.5475 MB / 0.5109 GB, free: 49.26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-05/0.2823, allocations: 63.64 kB / 0.511 GB, free: 49.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005919/0.2883, allocations: 17.21 MB / 0.5278 GB, free: 31.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.2883, allocations: 8.062 kB / 0.5278 GB, free: 31.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003259/0.2915, allocations: 2.837 MB / 0.5305 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006467/0.2922, allocations: 0.5408 MB / 0.5311 GB, free: 27.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002087/0.2924, allocations: 51.94 kB / 0.5311 GB, free: 27.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006975/0.2931, allocations: 123.9 kB / 0.5312 GB, free: 27.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002199/0.2933, allocations: 177.6 kB / 0.5314 GB, free: 27.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.353e-05/0.2934, allocations: 75.97 kB / 0.5315 GB, free: 27.13 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001087/0.2945, allocations: 1.265 MB / 0.5327 GB, free: 25.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2945, allocations: 0 / 0.5327 GB, free: 25.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00193/0.2964, allocations: 0.9335 MB / 0.5336 GB, free: 24.93 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 13 (vfController.x,smrM.inertiaRotor.w,smrM.stator.core.Phi.re,smrM.stator.core.Phi.im,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smrE.inertiaRotor.w,smrE.idq_sr[1],smrE.idq_sr[2],smrE.idq_dr[1],smrE.idq_dr[2],loadInertiaM.phi,loadInertiaE.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (182): * Single equations (assignments): 174 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,5,100.0%), (3,11,100.0%), (1,6,100.0%), (1,1,100.0%), (2,1,100.0%), (1,1,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003544/0.2968, allocations: 256.7 kB / 0.5339 GB, free: 24.67 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002358/0.2991, allocations: 2.638 MB / 0.5365 GB, free: 21.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2991, allocations: 0 / 0.5365 GB, free: 21.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001587/0.3007, allocations: 2.429 MB / 0.5388 GB, free: 19.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/0.3024, allocations: 0.7399 MB / 0.5395 GB, free: 18.65 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008057/0.3104, allocations: 8.26 MB / 0.5476 GB, free: 10.26 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001532/0.312, allocations: 2.539 MB / 0.5501 GB, free: 7.676 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004848/0.3124, allocations: 240.4 kB / 0.5503 GB, free: 7.441 MB / 410.7 MB Notification: Performance of SimCode: time 1.322e-06/0.3124, allocations: 0 / 0.5503 GB, free: 7.441 MB / 410.7 MB Notification: Performance of Templates: time 0.3836/0.696, allocations: 252 MB / 0.7964 GB, free: 144.5 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.670101642142981]