Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.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.0009208/0.0009208, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0008496/0.0008496, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9425/0.9425, allocations: 177 MB / 204.8 MB, free: 5.59 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.259/0.259, allocations: 34.86 MB / 296.3 MB, free: 0.5508 MB / 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.ComparisonPolyphase.SMR_Inverter_Polyphase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=13000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=13000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 378.9 MB, free: 1.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.738e-05/2.921e-05, allocations: 4.844 kB / 378.9 MB, free: 1.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase): time 0.02213/0.02216, allocations: 24.92 MB / 403.8 MB, free: 8.938 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01166/0.03382, allocations: 6.876 MB / 410.7 MB, free: 2.039 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004022/0.03784, allocations: 210.8 kB / 410.9 MB, free: 1.832 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003817/0.04166, allocations: 1.626 MB / 412.5 MB, free: 200 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00639/0.04805, allocations: 2.278 MB / 414.8 MB, free: 13.9 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003282/0.05133, allocations: 1.495 MB / 416.3 MB, free: 12.41 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.008368/0.0597, allocations: 8.565 MB / 424.9 MB, free: 3.805 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006022/0.06572, allocations: 3.916 MB / 428.8 MB, free: 15.79 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009432/0.07515, allocations: 6.083 MB / 434.9 MB, free: 9.703 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006835/0.08199, allocations: 4.124 MB / 439 MB, free: 5.57 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003292/0.08528, allocations: 1.082 MB / 440.1 MB, free: 4.488 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004481/0.08976, allocations: 1.308 MB / 441.4 MB, free: 3.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003009/0.09277, allocations: 2.516 MB / 443.9 MB, free: 0.6562 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1476/0.2404, allocations: 3.1 MB / 447 MB, free: 59.85 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009668/0.2501, allocations: 7.191 MB / 454.2 MB, free: 59.24 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2501, allocations: 0 / 454.2 MB, free: 59.24 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2501, allocations: 5.844 kB / 454.2 MB, free: 59.24 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003928/0.2505, allocations: 0 / 454.2 MB, free: 59.24 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: 1854 * Number of variables: 1854 Notification: Performance of Generate backend data structure: time 0.0156/0.2661, allocations: 9.333 MB / 463.5 MB, free: 56.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.2661, allocations: 9.5 kB / 463.5 MB, free: 56.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006527/0.2726, allocations: 2.557 MB / 466.1 MB, free: 55.67 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006909/0.2795, allocations: 4.656 MB / 470.8 MB, free: 53.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003639/0.2799, allocations: 0.5099 MB / 471.3 MB, free: 53.33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001327/0.2812, allocations: 0.6863 MB / 471.9 MB, free: 53.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01003/0.2913, allocations: 5.609 MB / 477.6 MB, free: 51.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001275/0.2914, allocations: 10.92 kB / 477.6 MB, free: 51.01 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004297/0.2918, allocations: 290.8 kB / 477.9 MB, free: 50.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002599/0.2921, allocations: 331.3 kB / 478.2 MB, free: 50.76 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006529/0.2986, allocations: 2.677 MB / 480.9 MB, free: 50.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02829/0.3269, allocations: 22.53 MB / 0.4916 GB, free: 37.47 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006036/0.3329, allocations: 5.148 MB / 0.4966 GB, free: 36.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002762/0.3357, allocations: 2.238 MB / 0.4988 GB, free: 35.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007412/0.3431, allocations: 5.352 MB / 0.504 GB, free: 32.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.276e-05/0.3432, allocations: 62.66 kB / 0.5041 GB, free: 32.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=259): time 4.909e-06/0.3432, allocations: 0 / 0.5041 GB, free: 32.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=265): time 0.01214/0.3553, allocations: 7.254 MB / 0.5112 GB, free: 29.81 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.3553, allocations: 81.5 kB / 0.5112 GB, free: 29.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002606/0.3579, allocations: 2.564 MB / 0.5137 GB, free: 27.56 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001387/0.3581, allocations: 69.7 kB / 0.5138 GB, free: 27.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001272/0.3594, allocations: 3.292 MB / 0.517 GB, free: 24.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005103/0.3599, allocations: 0.9785 MB / 0.518 GB, free: 23.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005756/0.3604, allocations: 0.6363 MB / 0.5186 GB, free: 23.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.012e-05/0.3605, allocations: 476.8 kB / 0.5191 GB, free: 22.58 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007993/0.3613, allocations: 0.5033 MB / 0.5196 GB, free: 22.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/0.3625, allocations: 2.055 MB / 0.5216 GB, free: 19.63 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002241/0.3647, allocations: 2.789 MB / 0.5243 GB, free: 16.42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.959e-05/0.3647, allocations: 12 kB / 0.5243 GB, free: 16.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.004285/0.369, allocations: 3.088 MB / 0.5273 GB, free: 13.76 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.281e-05/0.369, allocations: 20 kB / 0.5273 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-05/0.3691, allocations: 32 kB / 0.5274 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001132/0.3702, allocations: 485.7 kB / 0.5278 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001944/0.3722, allocations: 0.7661 MB / 0.5286 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004618/0.3768, allocations: 9.078 MB / 0.5374 GB, free: 3.082 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001855/0.3786, allocations: 148 kB / 0.5376 GB, free: 2.938 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001992/0.3788, allocations: 148 kB / 0.5377 GB, free: 2.793 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 146 * 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 (406): * Single equations (assignments): 400 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * 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): 4 systems {(1,1,100.0%), (1,8,100.0%), (1,1,100.0%), (3,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001478/0.3803, allocations: 377.2 kB / 0.5381 GB, free: 2.465 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005021/0.3808, allocations: 441.7 kB / 0.5385 GB, free: 2.031 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004144/0.385, allocations: 2.608 MB / 0.541 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-05/0.385, allocations: 28 kB / 0.5411 GB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.727e-05/0.385, allocations: 12 kB / 0.5411 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-05/0.385, allocations: 11.95 kB / 0.5411 GB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.012/0.397, allocations: 7.109 MB / 0.548 GB, free: 8.176 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.858e-06/0.397, allocations: 4 kB / 0.548 GB, free: 8.172 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001229/0.3983, allocations: 392.1 kB / 0.5484 GB, free: 7.809 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002333/0.4006, allocations: 0.8843 MB / 0.5493 GB, free: 6.906 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001918/0.4008, allocations: 75.95 kB / 0.5494 GB, free: 6.832 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01303/0.4138, allocations: 17.59 MB / 0.5665 GB, free: 4.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.4138, allocations: 4 kB / 0.5665 GB, free: 4.496 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006294/0.4201, allocations: 3.427 MB / 0.5699 GB, free: 0.9258 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001364/0.4215, allocations: 0.6219 MB / 0.5705 GB, free: 312 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003787/0.4219, allocations: 60 kB / 0.5705 GB, free: 252 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/0.4229, allocations: 119.9 kB / 0.5707 GB, free: 132 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004711/0.4234, allocations: 217 kB / 0.5709 GB, free: 15.92 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001539/0.4235, allocations: 79.98 kB / 0.5709 GB, free: 15.84 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002129/0.4256, allocations: 1.407 MB / 0.5723 GB, free: 14.44 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4256, allocations: 6.734 kB / 0.5723 GB, free: 14.44 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003593/0.4292, allocations: 1.144 MB / 0.5734 GB, free: 13.29 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 14 (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,smr3.inertiaRotor.w,smr3.stator.core.Phi.re,smr3.stator.core.Phi.im,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController3.x,vfControllerM.x) * 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 (195): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,8,100.0%), (4,33,93.8%), (1,1,100.0%), (1,1,100.0%), (1,8,100.0%), (2,12,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.0005521/0.4298, allocations: 221.3 kB / 0.5736 GB, free: 13.09 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005786/0.4356, allocations: 2.738 MB / 0.5763 GB, free: 10.36 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.4356, allocations: 0.5 kB / 0.5763 GB, free: 10.36 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004634/0.4402, allocations: 2.584 MB / 0.5788 GB, free: 7.676 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004899/0.4451, allocations: 0.8194 MB / 0.5796 GB, free: 6.863 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02606/0.4712, allocations: 10.67 MB / 0.5901 GB, free: 12.07 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003485/0.4747, allocations: 1.662 MB / 0.5917 GB, free: 10.39 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003057/0.4777, allocations: 0.6812 MB / 0.5924 GB, free: 9.707 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009686/0.4787, allocations: 240.5 kB / 0.5926 GB, free: 9.473 MB / 474.7 MB Notification: Performance of SimCode: time 1.993e-06/0.4787, allocations: 0 / 0.5926 GB, free: 9.473 MB / 474.7 MB Notification: Performance of Templates: time 0.1905/0.6692, allocations: 49.94 MB / 0.6414 GB, free: 131.3 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.581364242359996]