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.002497/0.002497, allocations: 114.5 kB / 20.44 MB, free: 4.602 MB / 13.93 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.002889/0.002889, allocations: 217.3 kB / 23.73 MB, free: 2.145 MB / 13.93 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.67/1.67, allocations: 230.6 MB / 257.4 MB, free: 9.473 MB / 202.7 MB " [Timeout remaining time 178] 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.283/0.283, allocations: 47.7 MB / 361.6 MB, free: 2.344 MB / 282.7 MB " [Timeout remaining time 179] 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 0.005357/0.005357, allocations: 99.84 kB / 0.4978 GB, free: 6.938 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1406, allocations: 66.22 MB / 0.5624 GB, free: 4.582 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter): time 0.2655/0.4061, allocations: 18.21 MB / 0.5802 GB, free: 4.945 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01157/0.4177, allocations: 5.938 MB / 0.586 GB, free: 0.7305 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004486/0.4221, allocations: 173.7 kB / 0.5862 GB, free: 0.6602 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00442/0.4266, allocations: 1.371 MB / 0.5875 GB, free: 15.93 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009207/0.4358, allocations: 1.976 MB / 0.5895 GB, free: 14.65 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004879/0.4406, allocations: 1.246 MB / 0.5907 GB, free: 13.88 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.01147/0.4521, allocations: 6.19 MB / 0.5967 GB, free: 10.69 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006263/0.4584, allocations: 2.907 MB / 0.5996 GB, free: 9.215 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006877/0.4652, allocations: 2.94 MB / 0.6024 GB, free: 7.781 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00834/0.4736, allocations: 3.341 MB / 0.6057 GB, free: 6.336 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003184/0.4768, allocations: 0.7794 MB / 0.6065 GB, free: 6.336 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004711/0.4815, allocations: 1.071 MB / 0.6075 GB, free: 6.195 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003516/0.485, allocations: 1.958 MB / 0.6094 GB, free: 4.668 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00662/0.4916, allocations: 2.68 MB / 0.612 GB, free: 2.91 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01709/0.5087, allocations: 10.44 MB / 0.6222 GB, free: 11.05 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.5087, allocations: 0 / 0.6222 GB, free: 11.05 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.5087, allocations: 4 kB / 0.6222 GB, free: 11.04 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002747/0.509, allocations: 0 / 0.6222 GB, free: 11.04 MB / 458.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.01829/0.5273, allocations: 6.702 MB / 0.6288 GB, free: 4.27 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.5273, allocations: 12.03 kB / 0.6288 GB, free: 4.258 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005045/0.5324, allocations: 1.032 MB / 0.6298 GB, free: 3.223 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008437/0.5408, allocations: 3.506 MB / 0.6332 GB, free: 15.65 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004221/0.5412, allocations: 390.5 kB / 0.6336 GB, free: 15.27 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00131/0.5425, allocations: 0.5003 MB / 0.6341 GB, free: 14.77 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01588/0.5584, allocations: 7.012 MB / 0.6409 GB, free: 7.633 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001372/0.5586, allocations: 11.95 kB / 0.6409 GB, free: 7.621 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005643/0.5591, allocations: 208 kB / 0.6411 GB, free: 7.418 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002977/0.5594, allocations: 250.2 kB / 0.6414 GB, free: 7.172 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01255/0.572, allocations: 5.74 MB / 0.647 GB, free: 1.422 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03936/0.6113, allocations: 18.05 MB / 0.6646 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007824/0.6192, allocations: 3.681 MB / 0.6682 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004193/0.6233, allocations: 2.03 MB / 0.6702 GB, free: 9.406 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01247/0.6358, allocations: 5.002 MB / 0.6751 GB, free: 4.367 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.882e-05/0.6359, allocations: 60.56 kB / 0.6751 GB, free: 4.297 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=205): time 4.147e-06/0.6359, allocations: 0 / 0.6751 GB, free: 4.297 MB / 0.4948 GB Notification: Performance of matching and sorting (n=222): time 0.02381/0.6597, allocations: 9.546 MB / 0.6844 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.814e-05/0.6598, allocations: 81.41 kB / 0.6845 GB, free: 10.63 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004758/0.6645, allocations: 2.617 MB / 0.6871 GB, free: 7.992 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003237/0.6649, allocations: 61.7 kB / 0.6871 GB, free: 7.926 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002303/0.6672, allocations: 2.444 MB / 0.6895 GB, free: 5.461 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009987/0.6682, allocations: 0.8057 MB / 0.6903 GB, free: 4.648 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009442/0.6691, allocations: 0.5218 MB / 0.6908 GB, free: 4.117 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.6693, allocations: 305.1 kB / 0.6911 GB, free: 3.816 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002398/0.6717, allocations: 1.267 MB / 0.6924 GB, free: 2.547 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003383/0.675, allocations: 2.208 MB / 0.6945 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005914/0.681, allocations: 3.664 MB / 0.6981 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-05/0.681, allocations: 11.94 kB / 0.6981 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.008567/0.6896, allocations: 4.29 MB / 0.7023 GB, free: 7.535 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.039e-05/0.6896, allocations: 24.09 kB / 0.7023 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-05/0.6896, allocations: 31.98 kB / 0.7023 GB, free: 7.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001382/0.691, allocations: 0.5352 MB / 0.7029 GB, free: 6.926 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002665/0.6937, allocations: 0.6786 MB / 0.7035 GB, free: 6.246 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01121/0.7049, allocations: 9.662 MB / 0.713 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002766/0.7077, allocations: 171.8 kB / 0.7131 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004037/0.7081, allocations: 132 kB / 0.7133 GB, free: 11.79 MB / 0.5417 GB 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.003445/0.7115, allocations: 1.527 MB / 0.7147 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008275/0.7123, allocations: 306 kB / 0.715 GB, free: 9.945 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007988/0.7203, allocations: 3.627 MB / 0.7186 GB, free: 6.27 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.711e-05/0.7204, allocations: 24 kB / 0.7186 GB, free: 6.246 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-05/0.7204, allocations: 12 kB / 0.7186 GB, free: 6.234 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.198e-05/0.7204, allocations: 11.95 kB / 0.7186 GB, free: 6.223 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01636/0.7368, allocations: 7.128 MB / 0.7256 GB, free: 14.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.369e-05/0.7368, allocations: 4 kB / 0.7256 GB, free: 14.98 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001763/0.7385, allocations: 387.8 kB / 0.726 GB, free: 14.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002148/0.7407, allocations: 0.7326 MB / 0.7267 GB, free: 13.84 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002133/0.7409, allocations: 63.97 kB / 0.7267 GB, free: 13.78 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01858/0.7595, allocations: 15.65 MB / 0.742 GB, free: 13.33 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.7595, allocations: 4 kB / 0.742 GB, free: 13.32 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01024/0.7697, allocations: 5.317 MB / 0.7472 GB, free: 7.918 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001777/0.7715, allocations: 0.5564 MB / 0.7478 GB, free: 7.359 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004971/0.772, allocations: 55.98 kB / 0.7478 GB, free: 7.305 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001526/0.7735, allocations: 127.9 kB / 0.7479 GB, free: 7.18 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004866/0.774, allocations: 181.5 kB / 0.7481 GB, free: 7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001598/0.7742, allocations: 72.11 kB / 0.7482 GB, free: 6.93 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003244/0.7774, allocations: 1.726 MB / 0.7499 GB, free: 5.199 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7774, allocations: 3.938 kB / 0.7499 GB, free: 5.195 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003702/0.7811, allocations: 0.9335 MB / 0.7508 GB, free: 4.262 MB / 0.573 GB 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.0006359/0.7818, allocations: 262.1 kB / 0.751 GB, free: 4 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.007206/0.789, allocations: 3.692 MB / 0.7546 GB, free: 248 kB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/0.789, allocations: 0 / 0.7546 GB, free: 248 kB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.005114/0.7941, allocations: 2.564 MB / 0.7571 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004435/0.7985, allocations: 0.7015 MB / 0.7578 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.021/0.8195, allocations: 9.634 MB / 0.7672 GB, free: 3.164 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004381/0.8239, allocations: 2.79 MB / 0.7699 GB, free: 336 kB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002838/0.8268, allocations: 0.7205 MB / 0.7706 GB, free: 15.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008336/0.8276, allocations: 211.3 kB / 0.7709 GB, free: 15.39 MB / 0.6042 GB Notification: Performance of SimCode: time 1.703e-06/0.8276, allocations: 0 / 0.7709 GB, free: 15.39 MB / 0.6042 GB Notification: Performance of Templates: time 0.3554/1.183, allocations: 47.09 MB / 0.8168 GB, free: 187.5 MB / 0.6198 GB " [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 -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: 8.194792544003576]