Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_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.002655/0.002655, allocations: 108.8 kB / 20.43 MB, free: 4.598 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.003019/0.003019, allocations: 217.3 kB / 23.73 MB, free: 2.133 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.735/1.735, allocations: 230.5 MB / 257.4 MB, free: 9.484 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.2578/0.2578, allocations: 47.71 MB / 361.6 MB, free: 2.336 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.SMPM_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=13000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=13000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.005338/0.005338, allocations: 99.84 kB / 0.4978 GB, free: 6.918 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1436, allocations: 66.22 MB / 0.5624 GB, free: 4.57 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter): time 0.25/0.3936, allocations: 19.44 MB / 0.5814 GB, free: 4.148 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.02207/0.4157, allocations: 6.408 MB / 0.5877 GB, free: 15.59 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008768/0.4244, allocations: 183.2 kB / 0.5878 GB, free: 15.52 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005936/0.4304, allocations: 1.498 MB / 0.5893 GB, free: 14.73 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009216/0.4396, allocations: 2.122 MB / 0.5914 GB, free: 13.34 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004733/0.4443, allocations: 1.323 MB / 0.5927 GB, free: 12.53 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0122/0.4565, allocations: 6.579 MB / 0.5991 GB, free: 9.137 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006247/0.4628, allocations: 3.014 MB / 0.602 GB, free: 7.605 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008229/0.471, allocations: 3.099 MB / 0.6051 GB, free: 6.098 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009064/0.4801, allocations: 3.495 MB / 0.6085 GB, free: 4.277 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002766/0.4828, allocations: 0.814 MB / 0.6093 GB, free: 4.277 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004414/0.4872, allocations: 1.103 MB / 0.6104 GB, free: 4.133 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002983/0.4902, allocations: 2.045 MB / 0.6124 GB, free: 2.531 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006688/0.4969, allocations: 2.834 MB / 0.6151 GB, free: 0.6758 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01755/0.5145, allocations: 10.93 MB / 0.6258 GB, free: 7.352 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.5145, allocations: 0 / 0.6258 GB, free: 7.352 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5145, allocations: 0 / 0.6258 GB, free: 7.352 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003704/0.5148, allocations: 0 / 0.6258 GB, free: 7.352 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: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.02056/0.5354, allocations: 7.047 MB / 0.6327 GB, free: 240 kB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.5354, allocations: 8.031 kB / 0.6327 GB, free: 232 kB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005215/0.5407, allocations: 1.092 MB / 0.6337 GB, free: 15.13 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009097/0.5497, allocations: 3.708 MB / 0.6374 GB, free: 11.34 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004362/0.5502, allocations: 410.5 kB / 0.6378 GB, free: 10.94 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001338/0.5515, allocations: 0.5156 MB / 0.6383 GB, free: 10.43 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01482/0.5663, allocations: 7.294 MB / 0.6454 GB, free: 3.004 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001458/0.5665, allocations: 11.95 kB / 0.6454 GB, free: 2.992 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000784/0.5673, allocations: 216 kB / 0.6456 GB, free: 2.781 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003253/0.5676, allocations: 262.6 kB / 0.6459 GB, free: 2.523 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01255/0.5801, allocations: 5.951 MB / 0.6517 GB, free: 12.56 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03824/0.6184, allocations: 19.17 MB / 0.6704 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007346/0.6257, allocations: 3.715 MB / 0.674 GB, free: 5.367 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003942/0.6297, allocations: 2.101 MB / 0.6761 GB, free: 3.262 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01194/0.6416, allocations: 5.193 MB / 0.6811 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.029e-05/0.6417, allocations: 60.55 kB / 0.6812 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=220): time 5.08e-06/0.6417, allocations: 0 / 0.6812 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of matching and sorting (n=240): time 0.02544/0.6671, allocations: 10.22 MB / 0.6912 GB, free: 3.734 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.336e-05/0.6672, allocations: 77.41 kB / 0.6913 GB, free: 3.648 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00524/0.6724, allocations: 2.844 MB / 0.694 GB, free: 0.793 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003619/0.6728, allocations: 65.7 kB / 0.6941 GB, free: 0.7227 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002683/0.6755, allocations: 2.609 MB / 0.6966 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001044/0.6765, allocations: 0.8715 MB / 0.6975 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001013/0.6775, allocations: 0.5578 MB / 0.698 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.6777, allocations: 309.1 kB / 0.6983 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002582/0.6803, allocations: 1.33 MB / 0.6996 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003747/0.684, allocations: 2.375 MB / 0.7019 GB, free: 8.18 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006477/0.6905, allocations: 3.92 MB / 0.7058 GB, free: 3.785 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.91e-05/0.6905, allocations: 8 kB / 0.7058 GB, free: 3.777 MB / 0.5261 GB Notification: Performance of matching and sorting (n=406) (initialization): time 0.009286/0.6998, allocations: 4.549 MB / 0.7102 GB, free: 15.15 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.442e-05/0.6999, allocations: 20.66 kB / 0.7102 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.207e-05/0.6999, allocations: 32 kB / 0.7103 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001455/0.7014, allocations: 0.5412 MB / 0.7108 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002956/0.7043, allocations: 0.741 MB / 0.7115 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01175/0.7161, allocations: 9.77 MB / 0.7211 GB, free: 3.523 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002866/0.7189, allocations: 191.8 kB / 0.7213 GB, free: 3.336 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003486/0.7193, allocations: 140 kB / 0.7214 GB, free: 3.199 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 144 * 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 (377): * Single equations (assignments): 370 * 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,12,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.003395/0.7227, allocations: 1.575 MB / 0.7229 GB, free: 1.613 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000758/0.7234, allocations: 333.8 kB / 0.7232 GB, free: 1.285 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008068/0.7315, allocations: 3.806 MB / 0.727 GB, free: 13.43 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-05/0.7315, allocations: 24 kB / 0.727 GB, free: 13.4 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-05/0.7316, allocations: 8 kB / 0.727 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.682e-05/0.7316, allocations: 11.95 kB / 0.727 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01629/0.7479, allocations: 7.553 MB / 0.7344 GB, free: 5.707 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/0.7479, allocations: 4 kB / 0.7344 GB, free: 5.703 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001951/0.7498, allocations: 403.4 kB / 0.7348 GB, free: 5.309 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002234/0.7521, allocations: 0.7599 MB / 0.7355 GB, free: 4.523 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002083/0.7523, allocations: 63.97 kB / 0.7356 GB, free: 4.461 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01978/0.7721, allocations: 15.78 MB / 0.751 GB, free: 3.875 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-06/0.7721, allocations: 7.938 kB / 0.751 GB, free: 3.867 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01105/0.7831, allocations: 5.6 MB / 0.7565 GB, free: 14.15 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001825/0.7849, allocations: 0.6148 MB / 0.7571 GB, free: 13.54 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000479/0.7854, allocations: 56 kB / 0.7571 GB, free: 13.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001816/0.7872, allocations: 131.9 kB / 0.7572 GB, free: 13.36 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004918/0.7877, allocations: 189.5 kB / 0.7574 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001732/0.7879, allocations: 80.06 kB / 0.7575 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003444/0.7913, allocations: 1.869 MB / 0.7593 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7913, allocations: 0 / 0.7593 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.004111/0.7955, allocations: 0.9921 MB / 0.7603 GB, free: 10.23 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 13 (vfController.x,smpmM.inertiaRotor.w,smpmM.stator.core.Phi.re,smpmM.stator.core.Phi.im,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smpmE.inertiaRotor.w,smpmE.idq_sr[1],smpmE.idq_sr[2],smpmE.idq_rr[2],smpmE.idq_dr[1],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 (198): * Single equations (assignments): 190 * 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,12,100.0%), (1,6,100.0%), (1,1,100.0%), (2,1,100.0%), (1,1,100.0%), (1,8,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006435/0.7961, allocations: 255.7 kB / 0.7605 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.007998/0.8041, allocations: 3.866 MB / 0.7643 GB, free: 6.043 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/0.8041, allocations: 0 / 0.7643 GB, free: 6.043 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.004966/0.8091, allocations: 2.665 MB / 0.7669 GB, free: 3.277 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004172/0.8132, allocations: 0.8109 MB / 0.7677 GB, free: 2.48 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02067/0.8339, allocations: 10.12 MB / 0.7776 GB, free: 8.262 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00504/0.839, allocations: 2.906 MB / 0.7804 GB, free: 5.32 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00295/0.8419, allocations: 0.7658 MB / 0.7812 GB, free: 4.551 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008181/0.8427, allocations: 231.4 kB / 0.7814 GB, free: 4.324 MB / 0.6042 GB Notification: Performance of SimCode: time 1.593e-06/0.8427, allocations: 3.938 kB / 0.7814 GB, free: 4.32 MB / 0.6042 GB Notification: Performance of Templates: time 0.3158/1.158, allocations: 51.44 MB / 0.8316 GB, free: 180.6 MB / 0.6198 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.41695235017687]