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.001031/0.001031, allocations: 91.5 kB / 20.93 MB, free: 3.613 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.001222/0.001222, allocations: 156.5 kB / 24.23 MB, free: 328 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 1.003/1.003, allocations: 177 MB / 204.5 MB, free: 5.602 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.2399/0.2399, allocations: 34.86 MB / 295.8 MB, free: 0.5781 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.943e-06/1.943e-06, allocations: 0 / 378.1 MB, free: 2.289 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.701e-05/2.895e-05, allocations: 7.375 kB / 378.1 MB, free: 2.281 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase): time 0.02116/0.02118, allocations: 24.79 MB / 402.9 MB, free: 9.387 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01108/0.03226, allocations: 6.864 MB / 409.8 MB, free: 2.5 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001954/0.03422, allocations: 210.7 kB / 410 MB, free: 2.293 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002306/0.03652, allocations: 1.618 MB / 411.6 MB, free: 0.6641 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003394/0.03991, allocations: 2.278 MB / 413.9 MB, free: 14.37 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001921/0.04184, allocations: 1.481 MB / 415.4 MB, free: 12.89 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005577/0.04741, allocations: 8.573 MB / 423.9 MB, free: 4.281 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003379/0.05079, allocations: 3.924 MB / 427.9 MB, free: 272 kB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004559/0.05535, allocations: 5.888 MB / 433.7 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003467/0.05882, allocations: 4.182 MB / 437.9 MB, free: 6.176 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009162/0.05973, allocations: 1.09 MB / 439 MB, free: 5.086 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001528/0.06126, allocations: 1.312 MB / 440.3 MB, free: 3.773 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001315/0.06258, allocations: 2.548 MB / 442.9 MB, free: 1.219 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1561/0.2186, allocations: 3.127 MB / 446 MB, free: 59.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006574/0.2252, allocations: 7.233 MB / 453.2 MB, free: 58.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2252, allocations: 2.844 kB / 453.2 MB, free: 58.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2252, allocations: 0 / 453.2 MB, free: 58.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002729/0.2255, allocations: 0 / 453.2 MB, free: 58.91 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.01354/0.239, allocations: 9.37 MB / 462.6 MB, free: 55.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.2391, allocations: 9.938 kB / 462.6 MB, free: 55.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005789/0.2449, allocations: 2.561 MB / 465.2 MB, free: 55.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005048/0.2499, allocations: 4.637 MB / 469.8 MB, free: 53.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002225/0.2501, allocations: 0.5146 MB / 470.3 MB, free: 53.22 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006579/0.2508, allocations: 0.6821 MB / 471 MB, free: 52.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007257/0.2581, allocations: 5.618 MB / 476.6 MB, free: 50.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001118/0.2582, allocations: 10.55 kB / 476.6 MB, free: 50.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003966/0.2586, allocations: 288.7 kB / 476.9 MB, free: 50.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002041/0.2588, allocations: 329 kB / 477.2 MB, free: 50.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005438/0.2642, allocations: 2.688 MB / 479.9 MB, free: 50.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02423/0.2884, allocations: 22.61 MB / 0.4908 GB, free: 37.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005979/0.2944, allocations: 5.119 MB / 0.4958 GB, free: 36.06 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002791/0.2972, allocations: 2.241 MB / 0.4979 GB, free: 35.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006586/0.3038, allocations: 5.401 MB / 0.5032 GB, free: 32.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.3038, allocations: 62.78 kB / 0.5033 GB, free: 32.72 MB / 410.7 MB Notification: Performance of pre-optimization done (n=259): time 4.208e-06/0.3038, allocations: 0 / 0.5033 GB, free: 32.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=265): time 0.01095/0.3148, allocations: 7.257 MB / 0.5104 GB, free: 29.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.3148, allocations: 81.5 kB / 0.5104 GB, free: 29.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002349/0.3172, allocations: 2.578 MB / 0.513 GB, free: 27.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001116/0.3173, allocations: 73.7 kB / 0.513 GB, free: 27.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001126/0.3184, allocations: 3.283 MB / 0.5162 GB, free: 24.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004411/0.3188, allocations: 0.9794 MB / 0.5172 GB, free: 23.37 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005696/0.3194, allocations: 0.6353 MB / 0.5178 GB, free: 22.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.518e-05/0.3194, allocations: 480.8 kB / 0.5183 GB, free: 22.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008025/0.3203, allocations: 0.5031 MB / 0.5188 GB, free: 21.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001217/0.3215, allocations: 2.056 MB / 0.5208 GB, free: 19.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002223/0.3237, allocations: 2.788 MB / 0.5235 GB, free: 16.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.31e-05/0.3237, allocations: 11.06 kB / 0.5235 GB, free: 16.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.003499/0.3272, allocations: 3.093 MB / 0.5265 GB, free: 13.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.3272, allocations: 20 kB / 0.5265 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.236e-05/0.3273, allocations: 32 kB / 0.5266 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008223/0.3281, allocations: 478.6 kB / 0.527 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001439/0.3295, allocations: 0.7712 MB / 0.5278 GB, free: 12.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003718/0.3332, allocations: 9.081 MB / 0.5367 GB, free: 2.711 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/0.3346, allocations: 159.8 kB / 0.5368 GB, free: 2.555 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001425/0.3348, allocations: 152 kB / 0.537 GB, free: 2.406 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.00139/0.3362, allocations: 382.3 kB / 0.5373 GB, free: 2.074 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003698/0.3365, allocations: 437.8 kB / 0.5377 GB, free: 1.645 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003408/0.3399, allocations: 2.615 MB / 0.5403 GB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.731e-05/0.3399, allocations: 28 kB / 0.5403 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.237e-05/0.34, allocations: 12 kB / 0.5403 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-05/0.34, allocations: 11.95 kB / 0.5403 GB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009639/0.3496, allocations: 7.135 MB / 0.5473 GB, free: 7.758 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/0.3496, allocations: 4 kB / 0.5473 GB, free: 7.754 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009417/0.3506, allocations: 394.8 kB / 0.5477 GB, free: 7.387 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001739/0.3523, allocations: 0.8937 MB / 0.5486 GB, free: 6.48 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001412/0.3525, allocations: 67.97 kB / 0.5486 GB, free: 6.414 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01018/0.3626, allocations: 17.59 MB / 0.5658 GB, free: 4.086 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.3626, allocations: 4 kB / 0.5658 GB, free: 4.082 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004824/0.3675, allocations: 3.438 MB / 0.5692 GB, free: 0.5039 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/0.3685, allocations: 0.6225 MB / 0.5698 GB, free: 15.88 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003127/0.3688, allocations: 67.98 kB / 0.5698 GB, free: 15.81 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008105/0.3696, allocations: 123.9 kB / 0.57 GB, free: 15.69 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003543/0.37, allocations: 217.3 kB / 0.5702 GB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/0.3701, allocations: 79.97 kB / 0.5702 GB, free: 15.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00164/0.3718, allocations: 1.419 MB / 0.5716 GB, free: 13.99 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3718, allocations: 0 / 0.5716 GB, free: 13.99 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00281/0.3746, allocations: 1.148 MB / 0.5727 GB, free: 12.84 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.0003519/0.3749, allocations: 228.2 kB / 0.573 GB, free: 12.63 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003138/0.3781, allocations: 2.741 MB / 0.5756 GB, free: 9.891 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3781, allocations: 0 / 0.5756 GB, free: 9.891 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002204/0.3803, allocations: 2.578 MB / 0.5782 GB, free: 7.223 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001935/0.3822, allocations: 0.8392 MB / 0.579 GB, free: 6.395 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01326/0.3955, allocations: 10.67 MB / 0.5894 GB, free: 11.61 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001351/0.3968, allocations: 1.658 MB / 0.591 GB, free: 9.93 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001356/0.3982, allocations: 0.6811 MB / 0.5917 GB, free: 9.246 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004505/0.3986, allocations: 244.5 kB / 0.5919 GB, free: 9.008 MB / 474.7 MB Notification: Performance of SimCode: time 1.392e-06/0.3986, allocations: 0 / 0.5919 GB, free: 9.008 MB / 474.7 MB Notification: Performance of Templates: time 0.1867/0.5853, allocations: 48.32 MB / 0.6391 GB, free: 162.4 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.7797663600649685]