Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_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.001157/0.001157, allocations: 84.86 kB / 21.5 MB, free: 2.988 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.001316/0.001316, allocations: 165.8 kB / 24.91 MB, free: 8.766 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.057/1.057, allocations: 177 MB / 205.2 MB, free: 5.422 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.2922/0.2922, allocations: 34.86 MB / 296.6 MB, free: 0.4922 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.SMPM_Inverter_Polyphase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=13000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=13000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 326.1 MB, free: 6.969 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.552e-05/2.75e-05, allocations: 5.406 kB / 326.1 MB, free: 6.965 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase): time 0.02805/0.02807, allocations: 25.84 MB / 351.9 MB, free: 13.02 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02142/0.0495, allocations: 7.806 MB / 359.7 MB, free: 5.184 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008187/0.05768, allocations: 218.7 kB / 360 MB, free: 4.969 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007108/0.06479, allocations: 1.843 MB / 361.8 MB, free: 3.113 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0114/0.07619, allocations: 2.526 MB / 364.3 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005812/0.08201, allocations: 1.56 MB / 365.9 MB, free: 15.01 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01442/0.09642, allocations: 9.201 MB / 375.1 MB, free: 5.777 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009749/0.1062, allocations: 4.112 MB / 379.2 MB, free: 1.547 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01076/0.1169, allocations: 6.426 MB / 385.6 MB, free: 11.11 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005105/0.122, allocations: 4.346 MB / 390 MB, free: 6.754 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00189/0.1239, allocations: 1.121 MB / 391.1 MB, free: 5.633 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001812/0.1257, allocations: 1.363 MB / 392.5 MB, free: 4.27 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001485/0.1272, allocations: 2.617 MB / 395.1 MB, free: 1.645 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002994/0.1302, allocations: 3.255 MB / 398.3 MB, free: 14.38 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006244/0.1365, allocations: 7.512 MB / 405.8 MB, free: 6.848 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1365, allocations: 4 kB / 405.8 MB, free: 6.844 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1365, allocations: 0 / 405.8 MB, free: 6.844 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000112/0.1366, allocations: 0 / 405.8 MB, free: 6.844 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.01072/0.1473, allocations: 9.191 MB / 415 MB, free: 13.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.1473, allocations: 12.02 kB / 415 MB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005643/0.153, allocations: 2.4 MB / 417.4 MB, free: 11.15 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004253/0.1572, allocations: 3.076 MB / 420.5 MB, free: 7.984 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002575/0.1575, allocations: 0.5342 MB / 421.1 MB, free: 7.449 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006839/0.1582, allocations: 0.719 MB / 421.8 MB, free: 6.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005728/0.1639, allocations: 5.506 MB / 427.3 MB, free: 1.07 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001024/0.164, allocations: 19.81 kB / 427.3 MB, free: 1.051 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004176/0.1644, allocations: 296 kB / 427.6 MB, free: 0.7617 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002405/0.1647, allocations: 350.6 kB / 427.9 MB, free: 428 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003303/0.168, allocations: 2.243 MB / 430.2 MB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3039/0.4718, allocations: 18.92 MB / 449.1 MB, free: 72.26 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004561/0.4764, allocations: 4.165 MB / 453.3 MB, free: 72.04 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00218/0.4786, allocations: 1.999 MB / 455.3 MB, free: 71.98 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006323/0.4849, allocations: 4.318 MB / 459.6 MB, free: 71.57 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.4849, allocations: 65.56 kB / 459.6 MB, free: 71.52 MB / 410.8 MB Notification: Performance of pre-optimization done (n=281): time 4.138e-06/0.4849, allocations: 6.516 kB / 459.6 MB, free: 71.52 MB / 410.8 MB Notification: Performance of matching and sorting (n=289): time 0.009395/0.4943, allocations: 5.866 MB / 465.5 MB, free: 70.8 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.4944, allocations: 83.3 kB / 465.6 MB, free: 70.74 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001676/0.496, allocations: 2.438 MB / 468 MB, free: 70.46 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001082/0.4961, allocations: 78.05 kB / 468.1 MB, free: 70.43 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001002/0.4971, allocations: 2.846 MB / 471 MB, free: 69.23 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004276/0.4976, allocations: 1.038 MB / 472 MB, free: 68.65 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005545/0.4981, allocations: 0.6295 MB / 472.6 MB, free: 68.6 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.578e-05/0.4982, allocations: 307.5 kB / 472.9 MB, free: 68.3 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000523/0.4987, allocations: 427.8 kB / 473.3 MB, free: 68.28 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008046/0.4995, allocations: 1.574 MB / 474.9 MB, free: 66.89 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001623/0.5011, allocations: 2.355 MB / 477.3 MB, free: 65.49 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.199e-05/0.5011, allocations: 10.81 kB / 477.3 MB, free: 65.49 MB / 410.8 MB Notification: Performance of matching and sorting (n=476) (initialization): time 0.002448/0.5036, allocations: 2.439 MB / 479.7 MB, free: 64.36 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/0.5036, allocations: 20 kB / 479.7 MB, free: 64.34 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-05/0.5036, allocations: 36 kB / 479.8 MB, free: 64.3 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007304/0.5044, allocations: 445.3 kB / 480.2 MB, free: 63.96 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001695/0.5061, allocations: 0.903 MB / 481.1 MB, free: 63.28 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003352/0.5094, allocations: 6.476 MB / 487.6 MB, free: 57.36 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.5107, allocations: 134.9 kB / 487.7 MB, free: 57.29 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001518/0.5108, allocations: 136.6 kB / 487.8 MB, free: 57.2 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 162 * 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 (446): * Single equations (assignments): 440 * 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.001409/0.5122, allocations: 356.6 kB / 488.2 MB, free: 57 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003252/0.5126, allocations: 315 kB / 488.5 MB, free: 56.81 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00243/0.515, allocations: 2.16 MB / 490.7 MB, free: 55.04 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.515, allocations: 28 kB / 490.7 MB, free: 55.02 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.789e-06/0.515, allocations: 15.94 kB / 490.7 MB, free: 55 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.686e-05/0.515, allocations: 15.95 kB / 490.7 MB, free: 54.98 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006253/0.5213, allocations: 5.803 MB / 496.5 MB, free: 50.68 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.5213, allocations: 4 kB / 496.5 MB, free: 50.68 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000954/0.5222, allocations: 452.7 kB / 497 MB, free: 50.27 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001326/0.5236, allocations: 0.8271 MB / 497.8 MB, free: 49.5 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001179/0.5237, allocations: 72.53 kB / 497.9 MB, free: 49.47 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006427/0.5301, allocations: 12.75 MB / 0.4987 GB, free: 37.66 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/0.5301, allocations: 15.5 kB / 0.4987 GB, free: 37.65 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003218/0.5333, allocations: 2.762 MB / 0.5014 GB, free: 35 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008174/0.5341, allocations: 430 kB / 0.5018 GB, free: 34.62 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002461/0.5344, allocations: 73.92 kB / 0.5018 GB, free: 34.6 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000722/0.5351, allocations: 105.5 kB / 0.5019 GB, free: 34.53 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003748/0.5355, allocations: 229.8 kB / 0.5022 GB, free: 34.34 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/0.5356, allocations: 63.28 kB / 0.5022 GB, free: 34.3 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.001002/0.5366, allocations: 1.239 MB / 0.5034 GB, free: 33.28 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.5366, allocations: 4 kB / 0.5034 GB, free: 33.27 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.00326/0.5398, allocations: 1.229 MB / 0.5046 GB, free: 32.15 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 14 (vfController3.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,smpm3.inertiaRotor.w,smpm3.stator.core.Phi.re,smpm3.stator.core.Phi.im,smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController.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 (217): * Single equations (assignments): 210 * 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,13,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.0003467/0.5402, allocations: 212.4 kB / 0.5048 GB, free: 31.98 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.002397/0.5426, allocations: 2.261 MB / 0.5071 GB, free: 29.8 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 5.102e-05/0.5426, allocations: 51.84 kB / 0.5071 GB, free: 29.75 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00161/0.5443, allocations: 2.045 MB / 0.5091 GB, free: 27.7 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002068/0.5463, allocations: 0.9924 MB / 0.5101 GB, free: 26.74 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01141/0.5577, allocations: 10.73 MB / 0.5205 GB, free: 15.91 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/0.5588, allocations: 1.385 MB / 0.5219 GB, free: 14.5 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.001398/0.5602, allocations: 0.5446 MB / 0.5224 GB, free: 13.95 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001374/0.5615, allocations: 0.9168 MB / 0.5233 GB, free: 13.01 MB / 410.8 MB Notification: Performance of SimCode: time 2.164e-06/0.5615, allocations: 0 / 0.5233 GB, free: 13.01 MB / 410.8 MB Notification: Performance of Templates: time 0.07638/0.6379, allocations: 58.5 MB / 0.5805 GB, free: 3.316 MB / 458.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.753263161052018]