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.0008881/0.0008881, allocations: 91.5 kB / 21.2 MB, free: 3.371 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.0009531/0.0009531, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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 0.9883/0.9883, allocations: 177 MB / 204.8 MB, free: 5.562 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.2538/0.2538, allocations: 34.86 MB / 296.3 MB, free: 0.5312 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.733e-06/1.733e-06, allocations: 0 / 378.9 MB, free: 1.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.347e-05/2.521e-05, allocations: 3.719 kB / 378.9 MB, free: 1.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase): time 0.02105/0.02107, allocations: 26.99 MB / 405.9 MB, free: 6.84 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01451/0.03558, allocations: 7.484 MB / 413.4 MB, free: 15.33 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004836/0.04041, allocations: 222.7 kB / 413.6 MB, free: 15.11 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004501/0.04491, allocations: 1.781 MB / 415.4 MB, free: 13.32 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007525/0.05244, allocations: 2.522 MB / 417.9 MB, free: 10.78 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003743/0.05618, allocations: 1.566 MB / 419.5 MB, free: 9.211 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.009493/0.06568, allocations: 9.194 MB / 428.7 MB, free: 15.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005904/0.07158, allocations: 4.03 MB / 432.7 MB, free: 11.87 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008419/0.08, allocations: 6.426 MB / 439.1 MB, free: 5.43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005917/0.08592, allocations: 4.311 MB / 443.4 MB, free: 1.109 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.1563/0.2422, allocations: 1.126 MB / 444.6 MB, free: 59.44 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004064/0.2463, allocations: 1.345 MB / 445.9 MB, free: 59.44 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003386/0.2497, allocations: 2.618 MB / 448.5 MB, free: 59.44 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006404/0.2561, allocations: 3.263 MB / 451.8 MB, free: 59.44 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0105/0.2666, allocations: 7.522 MB / 459.3 MB, free: 58.76 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.2666, allocations: 0 / 459.3 MB, free: 58.76 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2666, allocations: 0 / 459.3 MB, free: 58.76 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004349/0.267, allocations: 2.875 kB / 459.3 MB, free: 58.76 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: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.01672/0.2838, allocations: 9.873 MB / 469.2 MB, free: 55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.2838, allocations: 13.22 kB / 469.2 MB, free: 55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005475/0.2893, allocations: 2.682 MB / 471.9 MB, free: 54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006584/0.2959, allocations: 4.918 MB / 476.8 MB, free: 51.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002846/0.2961, allocations: 0.5307 MB / 477.3 MB, free: 51.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000992/0.2971, allocations: 0.7147 MB / 478 MB, free: 51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01165/0.3088, allocations: 5.865 MB / 483.9 MB, free: 48.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001509/0.3089, allocations: 8.141 kB / 483.9 MB, free: 48.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005158/0.3095, allocations: 304.1 kB / 484.2 MB, free: 48.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003068/0.3098, allocations: 352.6 kB / 484.5 MB, free: 48.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007352/0.3171, allocations: 2.795 MB / 487.3 MB, free: 48.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03151/0.3486, allocations: 24.23 MB / 0.4996 GB, free: 33.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006133/0.3548, allocations: 5.172 MB / 0.5046 GB, free: 32.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003073/0.3578, allocations: 2.303 MB / 0.5069 GB, free: 32.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00887/0.3667, allocations: 5.582 MB / 0.5123 GB, free: 29.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.831e-05/0.3667, allocations: 72.73 kB / 0.5124 GB, free: 29.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=281): time 4.398e-06/0.3667, allocations: 0 / 0.5124 GB, free: 29.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=289): time 0.01378/0.3805, allocations: 7.743 MB / 0.52 GB, free: 23.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.3806, allocations: 82.72 kB / 0.52 GB, free: 22.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003455/0.384, allocations: 2.932 MB / 0.5229 GB, free: 20.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001468/0.3842, allocations: 77.7 kB / 0.523 GB, free: 20.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001305/0.3855, allocations: 3.518 MB / 0.5264 GB, free: 17.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005044/0.386, allocations: 1.066 MB / 0.5275 GB, free: 16.22 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000648/0.3866, allocations: 0.6846 MB / 0.5281 GB, free: 15.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.792e-05/0.3867, allocations: 476.8 kB / 0.5286 GB, free: 15.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009355/0.3876, allocations: 0.5535 MB / 0.5291 GB, free: 14.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001254/0.3889, allocations: 2.254 MB / 0.5313 GB, free: 11.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002456/0.3913, allocations: 3.057 MB / 0.5343 GB, free: 7.945 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.09e-05/0.3913, allocations: 8 kB / 0.5343 GB, free: 7.938 MB / 410.7 MB Notification: Performance of matching and sorting (n=476) (initialization): time 0.004011/0.3954, allocations: 3.346 MB / 0.5376 GB, free: 4.777 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.137e-05/0.3954, allocations: 24.73 kB / 0.5376 GB, free: 4.754 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.212e-05/0.3954, allocations: 36 kB / 0.5376 GB, free: 4.719 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008897/0.3963, allocations: 479.3 kB / 0.5381 GB, free: 4.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/0.3979, allocations: 0.8357 MB / 0.5389 GB, free: 3.449 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004752/0.4027, allocations: 9.088 MB / 0.5478 GB, free: 9.945 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001972/0.4046, allocations: 164 kB / 0.5479 GB, free: 9.785 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002532/0.4049, allocations: 172 kB / 0.5481 GB, free: 9.617 MB / 426.7 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.001752/0.4066, allocations: 382.8 kB / 0.5485 GB, free: 9.285 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007212/0.4074, allocations: 493.5 kB / 0.5489 GB, free: 8.801 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004203/0.4116, allocations: 2.78 MB / 0.5517 GB, free: 5.988 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.865e-05/0.4116, allocations: 31.98 kB / 0.5517 GB, free: 5.957 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-05/0.4116, allocations: 18.84 kB / 0.5517 GB, free: 5.941 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.922e-05/0.4116, allocations: 11.95 kB / 0.5517 GB, free: 5.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01167/0.4233, allocations: 7.604 MB / 0.5591 GB, free: 14.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.48e-05/0.4233, allocations: 4 kB / 0.5591 GB, free: 14.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/0.4244, allocations: 433.1 kB / 0.5596 GB, free: 13.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002005/0.4264, allocations: 0.8867 MB / 0.5604 GB, free: 12.96 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002033/0.4266, allocations: 79.97 kB / 0.5605 GB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01167/0.4383, allocations: 17.68 MB / 0.5778 GB, free: 10.48 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.4383, allocations: 4 kB / 0.5778 GB, free: 10.47 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005804/0.4441, allocations: 3.701 MB / 0.5814 GB, free: 6.617 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001411/0.4455, allocations: 0.6808 MB / 0.582 GB, free: 5.934 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004319/0.446, allocations: 67.98 kB / 0.5821 GB, free: 5.867 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009703/0.4469, allocations: 123.9 kB / 0.5822 GB, free: 5.746 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004359/0.4474, allocations: 236.4 kB / 0.5825 GB, free: 5.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001351/0.4475, allocations: 87.97 kB / 0.5825 GB, free: 5.434 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002614/0.4501, allocations: 1.601 MB / 0.5841 GB, free: 3.848 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4501, allocations: 0 / 0.5841 GB, free: 3.848 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003714/0.4538, allocations: 1.234 MB / 0.5853 GB, free: 2.613 MB / 458.7 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.0004898/0.4543, allocations: 227.5 kB / 0.5855 GB, free: 2.41 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004153/0.4585, allocations: 2.891 MB / 0.5883 GB, free: 15.53 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.4585, allocations: 4 kB / 0.5884 GB, free: 15.53 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00292/0.4614, allocations: 2.655 MB / 0.5909 GB, free: 12.79 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003512/0.4649, allocations: 0.9979 MB / 0.5919 GB, free: 11.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01675/0.4817, allocations: 11.24 MB / 0.6029 GB, free: 416 kB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1509/0.6325, allocations: 1.723 MB / 0.6046 GB, free: 114.7 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002174/0.6347, allocations: 0.7445 MB / 0.6053 GB, free: 114.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005776/0.6353, allocations: 270.7 kB / 0.6056 GB, free: 114.7 MB / 474.7 MB Notification: Performance of SimCode: time 1.593e-06/0.6353, allocations: 0 / 0.6056 GB, free: 114.7 MB / 474.7 MB Notification: Performance of Templates: time 0.0664/0.7017, allocations: 56.4 MB / 0.6606 GB, free: 98.17 MB / 474.7 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.718506374396384]