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.001468/0.001468, 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.001667/0.001667, 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 0.9507/0.9507, allocations: 177 MB / 204.5 MB, free: 5.555 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.2322/0.2322, allocations: 34.86 MB / 295.8 MB, free: 0.5625 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.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.352e-06/1.352e-06, allocations: 0 / 378.1 MB, free: 2.305 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.457e-05/1.592e-05, allocations: 3.719 kB / 378.1 MB, free: 2.301 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter): time 0.01528/0.0153, allocations: 20.74 MB / 398.8 MB, free: 13.46 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.009382/0.02468, allocations: 6.118 MB / 404.9 MB, free: 7.324 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002858/0.02754, allocations: 174.9 kB / 405.1 MB, free: 7.152 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003619/0.03116, allocations: 1.377 MB / 406.5 MB, free: 5.766 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00571/0.03687, allocations: 2.041 MB / 408.5 MB, free: 3.711 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002698/0.03957, allocations: 1.267 MB / 409.8 MB, free: 2.441 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006843/0.04641, allocations: 6.44 MB / 416.2 MB, free: 11.98 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004595/0.051, allocations: 2.94 MB / 419.2 MB, free: 8.953 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005562/0.05657, allocations: 4.343 MB / 423.5 MB, free: 4.602 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003908/0.06048, allocations: 3.188 MB / 426.7 MB, free: 1.406 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001439/0.06191, allocations: 0.7773 MB / 427.5 MB, free: 0.6289 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002242/0.06416, allocations: 1.074 MB / 428.6 MB, free: 15.55 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001656/0.06581, allocations: 2.041 MB / 430.6 MB, free: 13.51 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00365/0.06946, allocations: 2.319 MB / 432.9 MB, free: 11.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006503/0.07596, allocations: 5.479 MB / 438.4 MB, free: 5.688 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.908e-06/0.07597, allocations: 4 kB / 438.4 MB, free: 5.684 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.07598, allocations: 0 / 438.4 MB, free: 5.684 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001466/0.07612, allocations: 0 / 438.4 MB, free: 5.684 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.1436/0.2197, allocations: 6.956 MB / 445.4 MB, free: 99.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.2197, allocations: 8.562 kB / 445.4 MB, free: 99.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003209/0.223, allocations: 1.594 MB / 447 MB, free: 99.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003846/0.2268, allocations: 3.414 MB / 450.4 MB, free: 97.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/0.227, allocations: 387.5 kB / 450.8 MB, free: 97.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004279/0.2274, allocations: 0.5032 MB / 451.3 MB, free: 97.13 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005482/0.2329, allocations: 4.121 MB / 455.4 MB, free: 95.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.875e-05/0.233, allocations: 12.33 kB / 455.4 MB, free: 95.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002807/0.2333, allocations: 206.9 kB / 455.6 MB, free: 95.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001633/0.2334, allocations: 244.9 kB / 455.8 MB, free: 95.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003687/0.2371, allocations: 1.952 MB / 457.8 MB, free: 95.05 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01714/0.2542, allocations: 16.84 MB / 474.6 MB, free: 85.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003416/0.2577, allocations: 2.709 MB / 477.3 MB, free: 84.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001671/0.2593, allocations: 1.112 MB / 478.4 MB, free: 84.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005884/0.2652, allocations: 3.701 MB / 482.1 MB, free: 82.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.296e-05/0.2653, allocations: 60.48 kB / 482.2 MB, free: 82.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=205): time 4.077e-06/0.2653, allocations: 0 / 482.2 MB, free: 82.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=222): time 0.01035/0.2756, allocations: 5.728 MB / 487.9 MB, free: 80.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.2756, allocations: 75 kB / 488 MB, free: 80.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002762/0.2784, allocations: 2.275 MB / 490.3 MB, free: 79.13 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002158/0.2786, allocations: 72.73 kB / 490.4 MB, free: 79.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009609/0.2796, allocations: 2.54 MB / 492.9 MB, free: 77.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004679/0.2801, allocations: 0.8204 MB / 493.7 MB, free: 76.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005217/0.2806, allocations: 0.5366 MB / 494.2 MB, free: 76.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.712e-05/0.2806, allocations: 476.8 kB / 494.7 MB, free: 75.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007739/0.2814, allocations: 437.8 kB / 495.1 MB, free: 75.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001117/0.2825, allocations: 1.758 MB / 496.9 MB, free: 73.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002001/0.2845, allocations: 2.405 MB / 499.3 MB, free: 71.26 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.875e-05/0.2845, allocations: 11.94 kB / 499.3 MB, free: 71.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.003704/0.2882, allocations: 2.636 MB / 0.4902 GB, free: 68.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.042e-05/0.2883, allocations: 18.62 kB / 0.4902 GB, free: 68.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.029e-05/0.2883, allocations: 28 kB / 0.4902 GB, free: 68.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007215/0.289, allocations: 365.7 kB / 0.4906 GB, free: 68.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/0.2903, allocations: 0.6812 MB / 0.4912 GB, free: 67.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003863/0.2942, allocations: 10.5 MB / 0.5015 GB, free: 57.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0017/0.2959, allocations: 166.2 kB / 0.5017 GB, free: 56.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002026/0.2961, allocations: 136.3 kB / 0.5018 GB, free: 56.83 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.001246/0.2973, allocations: 340.3 kB / 0.5021 GB, free: 56.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005623/0.2979, allocations: 390.6 kB / 0.5025 GB, free: 56.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003492/0.3014, allocations: 2.085 MB / 0.5045 GB, free: 54.33 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/0.3014, allocations: 20.84 kB / 0.5045 GB, free: 54.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-05/0.3014, allocations: 12 kB / 0.5046 GB, free: 54.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.317e-05/0.3014, allocations: 10.92 kB / 0.5046 GB, free: 54.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008317/0.3098, allocations: 5.624 MB / 0.5101 GB, free: 49.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/0.3098, allocations: 4 kB / 0.5101 GB, free: 49.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/0.3108, allocations: 366.8 kB / 0.5104 GB, free: 49.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001287/0.3121, allocations: 0.5374 MB / 0.5109 GB, free: 48.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/0.3122, allocations: 63.97 kB / 0.511 GB, free: 48.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007056/0.3193, allocations: 17.22 MB / 0.5278 GB, free: 30.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.3193, allocations: 4 kB / 0.5278 GB, free: 30.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004174/0.3235, allocations: 2.848 MB / 0.5306 GB, free: 27.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009505/0.3244, allocations: 0.5291 MB / 0.5311 GB, free: 26.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003038/0.3247, allocations: 51.98 kB / 0.5312 GB, free: 26.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009219/0.3256, allocations: 127.9 kB / 0.5313 GB, free: 26.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003214/0.326, allocations: 181.5 kB / 0.5315 GB, free: 26.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/0.3261, allocations: 64.11 kB / 0.5315 GB, free: 26.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001479/0.3275, allocations: 1.265 MB / 0.5328 GB, free: 25.28 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3275, allocations: 0 / 0.5328 GB, free: 25.28 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005707/0.3332, allocations: 0.9335 MB / 0.5337 GB, free: 24.34 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.0004296/0.3337, allocations: 266.5 kB / 0.5339 GB, free: 24.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006144/0.3398, allocations: 2.627 MB / 0.5365 GB, free: 21.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.3398, allocations: 2 kB / 0.5365 GB, free: 21.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00507/0.3449, allocations: 2.428 MB / 0.5389 GB, free: 18.78 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002263/0.3472, allocations: 0.7427 MB / 0.5396 GB, free: 18.06 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01119/0.3584, allocations: 8.262 MB / 0.5476 GB, free: 9.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001125/0.3595, allocations: 1.243 MB / 0.5489 GB, free: 8.406 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001951/0.3614, allocations: 0.6111 MB / 0.5495 GB, free: 7.789 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005427/0.362, allocations: 212.5 kB / 0.5497 GB, free: 7.582 MB / 410.7 MB Notification: Performance of SimCode: time 1.423e-06/0.362, allocations: 4 kB / 0.5497 GB, free: 7.578 MB / 410.7 MB Notification: Performance of Templates: time 0.04745/0.4094, allocations: 41.18 MB / 0.5899 GB, free: 14.93 MB / 458.7 MB " [Timeout remaining time 660] 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.348758179927245]