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.0006743/0.0006743, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000856/0.00153, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0006936/0.0006936, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000863/0.001557, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.004/1.004, allocations: 177.4 MB / 189.9 MB, free: 4.824 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09017/1.094, allocations: 53.86 MB / 243.7 MB, free: 14.9 MB / 250.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.2498/0.2498, allocations: 34.85 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02741/0.2772, allocations: 13.24 MB / 292.6 MB, free: 6.453 MB / 282.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.543e-06/1.543e-06, allocations: 0 / 294 MB, free: 5.078 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.148e-05/2.302e-05, allocations: 7.625 kB / 294 MB, free: 5.07 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase): time 0.02168/0.0217, allocations: 26.02 MB / 320 MB, free: 10.95 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01566/0.03736, allocations: 7.869 MB / 327.9 MB, free: 3.055 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005547/0.04291, allocations: 218.7 kB / 328.1 MB, free: 2.84 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004938/0.04785, allocations: 1.855 MB / 329.9 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008212/0.05606, allocations: 2.523 MB / 332.4 MB, free: 14.43 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003929/0.05999, allocations: 1.559 MB / 334 MB, free: 12.88 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01131/0.0713, allocations: 9.231 MB / 343.2 MB, free: 3.617 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005545/0.07684, allocations: 4.108 MB / 347.3 MB, free: 15.39 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01133/0.08817, allocations: 6.944 MB / 354.3 MB, free: 8.391 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006941/0.09512, allocations: 4.33 MB / 358.6 MB, free: 4.051 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003233/0.09835, allocations: 1.129 MB / 359.7 MB, free: 2.922 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004604/0.103, allocations: 1.351 MB / 361.1 MB, free: 1.57 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002819/0.1058, allocations: 2.108 MB / 363.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005289/0.1111, allocations: 2.73 MB / 365.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008738/0.1198, allocations: 7.128 MB / 373.1 MB, free: 5.574 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.518e-05/0.1198, allocations: 4 kB / 373.1 MB, free: 5.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1198, allocations: 0 / 373.1 MB, free: 5.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000215/0.12, allocations: 4 kB / 373.1 MB, free: 5.566 MB / 362.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.01379/0.1338, allocations: 10.89 MB / 384 MB, free: 10.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.1339, allocations: 12.86 kB / 384 MB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005586/0.1394, allocations: 2.392 MB / 386.4 MB, free: 8.164 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005351/0.1448, allocations: 3.064 MB / 389.4 MB, free: 5.008 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002925/0.1451, allocations: 0.5342 MB / 390 MB, free: 4.473 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008725/0.146, allocations: 0.7228 MB / 390.7 MB, free: 3.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00767/0.1536, allocations: 5.518 MB / 396.2 MB, free: 14.08 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001181/0.1537, allocations: 11.89 kB / 396.2 MB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000464/0.1542, allocations: 296 kB / 396.5 MB, free: 13.78 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002343/0.1544, allocations: 350.6 kB / 396.8 MB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004068/0.1585, allocations: 2.243 MB / 399.1 MB, free: 11.17 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02769/0.1862, allocations: 19.04 MB / 418.1 MB, free: 7.523 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005295/0.1915, allocations: 4.162 MB / 422.3 MB, free: 3.352 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002416/0.1939, allocations: 1.999 MB / 424.3 MB, free: 1.336 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00811/0.202, allocations: 4.309 MB / 428.6 MB, free: 12.99 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.463e-05/0.2021, allocations: 68.72 kB / 428.7 MB, free: 12.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=281): time 4.278e-06/0.2021, allocations: 0 / 428.7 MB, free: 12.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=289): time 0.0105/0.2126, allocations: 5.869 MB / 434.5 MB, free: 6.957 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.2126, allocations: 85.67 kB / 434.6 MB, free: 6.859 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002528/0.2151, allocations: 2.44 MB / 437.1 MB, free: 4.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001781/0.2153, allocations: 77.7 kB / 437.1 MB, free: 4.348 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001162/0.2165, allocations: 2.85 MB / 440 MB, free: 1.461 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005939/0.2171, allocations: 1.03 MB / 441 MB, free: 432 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2776/0.4947, allocations: 0.6273 MB / 441.6 MB, free: 89.12 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 2.815e-05/0.4947, allocations: 302.2 kB / 441.9 MB, free: 88.82 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007334/0.4954, allocations: 431.5 kB / 442.4 MB, free: 88.81 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007813/0.4962, allocations: 1.573 MB / 443.9 MB, free: 87.43 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001583/0.4978, allocations: 2.352 MB / 446.3 MB, free: 86.07 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.296e-05/0.4978, allocations: 10.19 kB / 446.3 MB, free: 86.07 MB / 426.8 MB Notification: Performance of matching and sorting (n=476) (initialization): time 0.00289/0.5007, allocations: 2.443 MB / 448.7 MB, free: 85.9 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.129e-05/0.5007, allocations: 19.84 kB / 448.8 MB, free: 85.9 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.227e-05/0.5008, allocations: 36.97 kB / 448.8 MB, free: 85.9 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008418/0.5016, allocations: 445.7 kB / 449.2 MB, free: 85.84 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002012/0.5036, allocations: 0.9717 MB / 450.2 MB, free: 85.83 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003647/0.5073, allocations: 6.489 MB / 456.7 MB, free: 80.86 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002153/0.5094, allocations: 134.1 kB / 456.8 MB, free: 80.85 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001672/0.5096, allocations: 136.6 kB / 457 MB, free: 80.85 MB / 426.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.001291/0.5109, allocations: 358.1 kB / 457.3 MB, free: 80.73 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004449/0.5113, allocations: 321.7 kB / 457.6 MB, free: 80.73 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002499/0.5138, allocations: 2.146 MB / 459.8 MB, free: 80.44 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/0.5138, allocations: 30.06 kB / 459.8 MB, free: 80.44 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/0.5138, allocations: 13.53 kB / 459.8 MB, free: 80.44 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.692e-05/0.5139, allocations: 15.56 kB / 459.8 MB, free: 80.44 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006677/0.5205, allocations: 5.804 MB / 465.6 MB, free: 79.75 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.5205, allocations: 2.875 kB / 465.6 MB, free: 79.75 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/0.5217, allocations: 485.3 kB / 466.1 MB, free: 79.75 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008615/0.5225, allocations: 433.1 kB / 466.5 MB, free: 79.75 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001473/0.524, allocations: 0.8135 MB / 467.3 MB, free: 79.64 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001163/0.5241, allocations: 77.88 kB / 467.4 MB, free: 79.64 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006837/0.5309, allocations: 12.77 MB / 480.2 MB, free: 70.68 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/0.531, allocations: 7.75 kB / 480.2 MB, free: 70.67 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003313/0.5343, allocations: 2.773 MB / 483 MB, free: 70.01 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006888/0.535, allocations: 64.47 kB / 483 MB, free: 70.01 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00097/0.5359, allocations: 106.7 kB / 483.1 MB, free: 70 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003974/0.5363, allocations: 233.5 kB / 483.4 MB, free: 69.99 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/0.5364, allocations: 60 kB / 483.4 MB, free: 69.99 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.001168/0.5376, allocations: 1.239 MB / 484.7 MB, free: 69.9 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5376, allocations: 0 / 484.7 MB, free: 69.9 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.003177/0.5408, allocations: 1.226 MB / 485.9 MB, free: 69.39 MB / 426.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.0003576/0.5411, allocations: 217.6 kB / 486.1 MB, free: 69.26 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.002399/0.5435, allocations: 2.257 MB / 488.4 MB, free: 67.43 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 8.871e-05/0.5436, allocations: 76.17 kB / 488.4 MB, free: 67.36 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001594/0.5452, allocations: 2.054 MB / 490.5 MB, free: 65.74 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002609/0.5478, allocations: 1.3 MB / 491.8 MB, free: 64.87 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0442/0.592, allocations: 11.36 MB / 0.4914 GB, free: 55.04 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001176/0.5932, allocations: 1.424 MB / 0.4927 GB, free: 53.64 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.001629/0.5948, allocations: 0.5407 MB / 0.4933 GB, free: 53.1 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001293/0.5961, allocations: 0.9129 MB / 0.4942 GB, free: 52.16 MB / 426.8 MB Notification: Performance of SimCode: time 1.323e-06/0.5961, allocations: 0 / 0.4942 GB, free: 52.16 MB / 426.8 MB Notification: Performance of Templates: time 0.07399/0.6701, allocations: 61.52 MB / 0.5542 GB, free: 7.43 MB / 442.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 -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.649325733073056]