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.001879/0.001879, allocations: 76.36 kB / 20.67 MB, free: 3.891 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.00197/0.00197, allocations: 164.8 kB / 23.95 MB, free: 0.6016 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 1.802/1.802, allocations: 177 MB / 204.1 MB, free: 5.766 MB / 186.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.3593/0.3593, allocations: 34.86 MB / 295.4 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.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.563e-06/1.563e-06, allocations: 0 / 443.6 MB, free: 416 kB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.131e-05/2.287e-05, allocations: 2.281 kB / 443.6 MB, free: 412 kB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter): time 0.2049/0.2049, allocations: 18.21 MB / 461.8 MB, free: 32.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01024/0.2152, allocations: 5.943 MB / 467.8 MB, free: 28.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003115/0.2183, allocations: 170.4 kB / 467.9 MB, free: 28.04 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003262/0.2215, allocations: 1.374 MB / 469.3 MB, free: 27.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005392/0.2269, allocations: 2.031 MB / 471.3 MB, free: 25.96 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002815/0.2297, allocations: 1.247 MB / 472.6 MB, free: 25.19 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005996/0.2357, allocations: 6.424 MB / 479 MB, free: 21.78 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003414/0.2391, allocations: 2.929 MB / 481.9 MB, free: 20.3 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006904/0.2461, allocations: 4.302 MB / 486.3 MB, free: 18.23 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005011/0.2511, allocations: 2.901 MB / 489.2 MB, free: 17.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001998/0.2531, allocations: 0.7827 MB / 489.9 MB, free: 17.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003254/0.2563, allocations: 1.063 MB / 491 MB, free: 17.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001837/0.2582, allocations: 2.018 MB / 493 MB, free: 15.81 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004276/0.2624, allocations: 2.283 MB / 495.3 MB, free: 14.65 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01389/0.2763, allocations: 10.49 MB / 0.4939 GB, free: 10.92 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.2763, allocations: 0 / 0.4939 GB, free: 10.92 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2763, allocations: 0 / 0.4939 GB, free: 10.92 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003817/0.2767, allocations: 5.75 kB / 0.4939 GB, free: 10.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: 1347 * Number of variables: 1347 Notification: Performance of Generate backend data structure: time 0.01876/0.2955, allocations: 6.623 MB / 0.5004 GB, free: 6.473 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.2955, allocations: 10.12 kB / 0.5004 GB, free: 6.473 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00546/0.301, allocations: 1.023 MB / 0.5014 GB, free: 5.961 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008389/0.3094, allocations: 3.513 MB / 0.5048 GB, free: 3.508 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004324/0.3098, allocations: 387 kB / 0.5052 GB, free: 3.332 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001819/0.3116, allocations: 0.4991 MB / 0.5057 GB, free: 3.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01739/0.329, allocations: 7.01 MB / 0.5126 GB, free: 13.81 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002238/0.3292, allocations: 11.89 kB / 0.5126 GB, free: 13.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001373/0.3306, allocations: 212 kB / 0.5128 GB, free: 13.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003226/0.3309, allocations: 242.2 kB / 0.513 GB, free: 13.36 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01576/0.3467, allocations: 5.753 MB / 0.5186 GB, free: 7.594 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0478/0.3945, allocations: 18.04 MB / 0.5362 GB, free: 5.105 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008504/0.403, allocations: 3.692 MB / 0.5398 GB, free: 1.621 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004815/0.4078, allocations: 2.04 MB / 0.5418 GB, free: 15.57 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01316/0.421, allocations: 4.979 MB / 0.5467 GB, free: 10.56 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.216e-05/0.421, allocations: 56.56 kB / 0.5467 GB, free: 10.5 MB / 458.7 MB Notification: Performance of pre-optimization done (n=205): time 4.619e-06/0.421, allocations: 3.938 kB / 0.5468 GB, free: 10.49 MB / 458.7 MB Notification: Performance of matching and sorting (n=222): time 0.0252/0.4462, allocations: 9.55 MB / 0.5561 GB, free: 0.9141 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.607e-05/0.4463, allocations: 73.41 kB / 0.5561 GB, free: 0.8281 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005042/0.4513, allocations: 2.612 MB / 0.5587 GB, free: 14.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005312/0.4519, allocations: 65.64 kB / 0.5588 GB, free: 14.12 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002331/0.4542, allocations: 2.437 MB / 0.5611 GB, free: 11.66 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001153/0.4554, allocations: 0.7863 MB / 0.5619 GB, free: 10.87 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001012/0.4564, allocations: 0.5179 MB / 0.5624 GB, free: 10.34 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.4565, allocations: 305.1 kB / 0.5627 GB, free: 10.04 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002835/0.4594, allocations: 1.271 MB / 0.5639 GB, free: 8.77 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003584/0.4629, allocations: 2.2 MB / 0.5661 GB, free: 6.164 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006807/0.4698, allocations: 3.664 MB / 0.5697 GB, free: 2.105 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-05/0.4698, allocations: 8 kB / 0.5697 GB, free: 2.098 MB / 474.7 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.009431/0.4792, allocations: 4.29 MB / 0.5739 GB, free: 13.78 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.386e-05/0.4793, allocations: 24.97 kB / 0.5739 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.993e-05/0.4793, allocations: 28.53 kB / 0.5739 GB, free: 13.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001403/0.4807, allocations: 0.5289 MB / 0.5744 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003058/0.4838, allocations: 0.6825 MB / 0.5751 GB, free: 12.49 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01201/0.4958, allocations: 9.648 MB / 0.5845 GB, free: 2.336 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002892/0.4987, allocations: 183.7 kB / 0.5847 GB, free: 2.156 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004194/0.4991, allocations: 128 kB / 0.5848 GB, free: 2.031 MB / 490.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.00348/0.5026, allocations: 1.525 MB / 0.5863 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008926/0.5035, allocations: 302.1 kB / 0.5866 GB, free: 204 kB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007759/0.5112, allocations: 3.628 MB / 0.5901 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.659e-05/0.5113, allocations: 23.94 kB / 0.5902 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.621e-05/0.5113, allocations: 11.94 kB / 0.5902 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.549e-05/0.5113, allocations: 15.89 kB / 0.5902 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01696/0.5283, allocations: 7.12 MB / 0.5971 GB, free: 5.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/0.5283, allocations: 4 kB / 0.5971 GB, free: 5.246 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002172/0.5304, allocations: 379.9 kB / 0.5975 GB, free: 4.875 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002305/0.5328, allocations: 0.7557 MB / 0.5982 GB, free: 4.098 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002363/0.533, allocations: 63.97 kB / 0.5983 GB, free: 4.035 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01992/0.5529, allocations: 15.62 MB / 0.6136 GB, free: 3.609 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.336e-06/0.5529, allocations: 7.938 kB / 0.6136 GB, free: 3.602 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01116/0.5641, allocations: 5.313 MB / 0.6188 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001881/0.5659, allocations: 0.5526 MB / 0.6193 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005168/0.5665, allocations: 51.98 kB / 0.6193 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001614/0.5681, allocations: 135.8 kB / 0.6195 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004735/0.5686, allocations: 181.5 kB / 0.6196 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001708/0.5687, allocations: 63.98 kB / 0.6197 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003301/0.572, allocations: 1.718 MB / 0.6214 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.3e-07/0.572, allocations: 0 / 0.6214 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003962/0.576, allocations: 0.9335 MB / 0.6223 GB, free: 10.56 MB / 0.5261 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.0007117/0.5767, allocations: 264.7 kB / 0.6226 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007602/0.5843, allocations: 3.694 MB / 0.6262 GB, free: 6.535 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/0.5843, allocations: 4 kB / 0.6262 GB, free: 6.531 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0049/0.5892, allocations: 2.562 MB / 0.6287 GB, free: 3.871 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004661/0.5939, allocations: 0.7057 MB / 0.6294 GB, free: 3.188 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1995/0.7933, allocations: 9.299 MB / 0.6384 GB, free: 146.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002824/0.7962, allocations: 2.786 MB / 0.6412 GB, free: 146.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002244/0.7984, allocations: 0.7155 MB / 0.6419 GB, free: 146.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005638/0.799, allocations: 214.8 kB / 0.6421 GB, free: 146.6 MB / 0.5261 GB Notification: Performance of SimCode: time 1.263e-06/0.799, allocations: 0 / 0.6421 GB, free: 146.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.07005/0.869, allocations: 40.88 MB / 0.682 GB, free: 134.6 MB / 0.5261 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: 7.846294227056205]