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.0008696/0.0008696, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.0009356/0.0009356, allocations: 156.5 kB / 24.55 MB, free: 20 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.9858/0.9858, allocations: 177 MB / 204.8 MB, free: 5.598 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.2677/0.2677, allocations: 34.86 MB / 296.3 MB, free: 0.5352 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.854e-06/1.854e-06, allocations: 0 / 378.9 MB, free: 1.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.805e-05/2.991e-05, allocations: 2.312 kB / 378.9 MB, free: 1.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase): time 0.02361/0.02364, allocations: 26.99 MB / 405.9 MB, free: 6.848 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01493/0.03857, allocations: 7.476 MB / 413.4 MB, free: 15.34 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005151/0.04372, allocations: 218.7 kB / 413.6 MB, free: 15.13 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004932/0.04865, allocations: 1.793 MB / 415.4 MB, free: 13.32 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00751/0.05616, allocations: 2.526 MB / 417.9 MB, free: 10.78 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003554/0.05971, allocations: 1.554 MB / 419.5 MB, free: 9.227 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.00991/0.06962, allocations: 9.195 MB / 428.7 MB, free: 15.99 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00545/0.07507, allocations: 4.026 MB / 432.7 MB, free: 11.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008867/0.08394, allocations: 6.234 MB / 438.9 MB, free: 5.637 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006803/0.09074, allocations: 4.377 MB / 443.3 MB, free: 1.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002815/0.09356, allocations: 1.133 MB / 444.4 MB, free: 120 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1684/0.262, allocations: 1.35 MB / 445.8 MB, free: 59.41 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003168/0.2652, allocations: 2.649 MB / 448.4 MB, free: 59.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006743/0.2719, allocations: 3.289 MB / 451.7 MB, free: 59.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01091/0.2828, allocations: 7.564 MB / 459.3 MB, free: 58.74 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.2828, allocations: 3 kB / 459.3 MB, free: 58.74 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.2828, allocations: 0 / 459.3 MB, free: 58.74 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000366/0.2832, allocations: 0 / 459.3 MB, free: 58.74 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.01718/0.3004, allocations: 9.918 MB / 469.2 MB, free: 54.97 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.3004, allocations: 9.375 kB / 469.2 MB, free: 54.97 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006249/0.3067, allocations: 2.686 MB / 471.9 MB, free: 53.97 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006998/0.3137, allocations: 4.9 MB / 476.8 MB, free: 51.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002987/0.314, allocations: 0.531 MB / 477.3 MB, free: 51.22 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001374/0.3153, allocations: 0.7103 MB / 478 MB, free: 50.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01103/0.3264, allocations: 5.863 MB / 483.9 MB, free: 48.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001247/0.3265, allocations: 10.89 kB / 483.9 MB, free: 48.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000466/0.327, allocations: 307.1 kB / 484.2 MB, free: 48.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002937/0.3273, allocations: 359.1 kB / 484.6 MB, free: 48.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007113/0.3344, allocations: 2.794 MB / 487.3 MB, free: 48.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03003/0.3644, allocations: 24.31 MB / 0.4997 GB, free: 33.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005797/0.3702, allocations: 5.158 MB / 0.5047 GB, free: 32.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002944/0.3731, allocations: 2.29 MB / 0.5069 GB, free: 32.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008442/0.3816, allocations: 5.641 MB / 0.5124 GB, free: 29.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/0.3816, allocations: 70.42 kB / 0.5125 GB, free: 29.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=281): time 4.108e-06/0.3816, allocations: 0 / 0.5125 GB, free: 29.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=289): time 0.01325/0.3949, allocations: 7.751 MB / 0.5201 GB, free: 23.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.3949, allocations: 84.45 kB / 0.5202 GB, free: 22.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003294/0.3982, allocations: 2.935 MB / 0.523 GB, free: 20.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001455/0.3984, allocations: 73.7 kB / 0.5231 GB, free: 20.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001175/0.3995, allocations: 3.525 MB / 0.5265 GB, free: 17.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004862/0.4, allocations: 1.068 MB / 0.5276 GB, free: 16.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005787/0.4006, allocations: 0.6885 MB / 0.5283 GB, free: 15.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.51e-05/0.4006, allocations: 480.7 kB / 0.5287 GB, free: 14.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008796/0.4015, allocations: 0.546 MB / 0.5292 GB, free: 14.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001297/0.4028, allocations: 2.254 MB / 0.5314 GB, free: 11.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00253/0.4053, allocations: 3.059 MB / 0.5344 GB, free: 7.824 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.002e-05/0.4054, allocations: 12 kB / 0.5344 GB, free: 7.812 MB / 410.7 MB Notification: Performance of matching and sorting (n=476) (initialization): time 0.004376/0.4097, allocations: 3.35 MB / 0.5377 GB, free: 4.648 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.068e-05/0.4098, allocations: 20 kB / 0.5377 GB, free: 4.629 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.323e-05/0.4098, allocations: 39.06 kB / 0.5378 GB, free: 4.594 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009302/0.4107, allocations: 472.5 kB / 0.5382 GB, free: 4.113 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/0.4123, allocations: 0.8483 MB / 0.5391 GB, free: 3.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004692/0.417, allocations: 9.085 MB / 0.5479 GB, free: 9.812 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0021/0.4191, allocations: 175.7 kB / 0.5481 GB, free: 9.641 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002229/0.4193, allocations: 166.9 kB / 0.5483 GB, free: 9.48 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.001745/0.4211, allocations: 394.4 kB / 0.5486 GB, free: 9.141 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007167/0.4218, allocations: 485.5 kB / 0.5491 GB, free: 8.664 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004076/0.4259, allocations: 2.787 MB / 0.5518 GB, free: 5.844 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.6e-05/0.4259, allocations: 32 kB / 0.5518 GB, free: 5.812 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.587e-05/0.4259, allocations: 16 kB / 0.5519 GB, free: 5.797 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.947e-05/0.4259, allocations: 15.94 kB / 0.5519 GB, free: 5.781 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01083/0.4368, allocations: 7.64 MB / 0.5593 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.4368, allocations: 4 kB / 0.5593 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/0.4378, allocations: 437.4 kB / 0.5598 GB, free: 13.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001817/0.4396, allocations: 0.8882 MB / 0.5606 GB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001661/0.4398, allocations: 75.97 kB / 0.5607 GB, free: 12.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01062/0.4504, allocations: 17.67 MB / 0.578 GB, free: 10.29 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.4504, allocations: 4 kB / 0.578 GB, free: 10.29 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005823/0.4562, allocations: 3.703 MB / 0.5816 GB, free: 6.43 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001581/0.4578, allocations: 0.6925 MB / 0.5823 GB, free: 5.734 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003471/0.4581, allocations: 64 kB / 0.5823 GB, free: 5.672 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009018/0.459, allocations: 131.9 kB / 0.5824 GB, free: 5.543 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004151/0.4595, allocations: 233.1 kB / 0.5827 GB, free: 5.316 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001287/0.4596, allocations: 87.97 kB / 0.5827 GB, free: 5.23 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002148/0.4617, allocations: 1.609 MB / 0.5843 GB, free: 3.637 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4617, allocations: 0 / 0.5843 GB, free: 3.637 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003363/0.4651, allocations: 1.238 MB / 0.5855 GB, free: 2.398 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.0005819/0.4657, allocations: 233.8 kB / 0.5857 GB, free: 2.191 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003749/0.4694, allocations: 2.895 MB / 0.5886 GB, free: 15.31 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.4694, allocations: 0 / 0.5886 GB, free: 15.31 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002552/0.472, allocations: 2.659 MB / 0.5912 GB, free: 12.57 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003056/0.475, allocations: 1.01 MB / 0.5922 GB, free: 11.57 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01709/0.4921, allocations: 11.24 MB / 0.6031 GB, free: 176 kB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1514/0.6435, allocations: 1.726 MB / 0.6048 GB, free: 115 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002097/0.6456, allocations: 0.7415 MB / 0.6055 GB, free: 115 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000503/0.6461, allocations: 269.3 kB / 0.6058 GB, free: 115 MB / 474.7 MB Notification: Performance of SimCode: time 1.713e-06/0.6461, allocations: 3.062 kB / 0.6058 GB, free: 115 MB / 474.7 MB Notification: Performance of Templates: time 0.07432/0.7204, allocations: 54.39 MB / 0.6589 GB, free: 99.36 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.964653456117958]