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.0009562/0.0009562, allocations: 91.5 kB / 20.94 MB, free: 3.613 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.0009022/0.0009022, allocations: 160.5 kB / 24.23 MB, free: 328 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.9693/0.9693, allocations: 177 MB / 204.4 MB, free: 5.586 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.2411/0.2411, allocations: 34.87 MB / 295.8 MB, free: 0.5664 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.383e-06/1.383e-06, allocations: 0 / 378.1 MB, free: 2.285 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.252e-05, allocations: 4 kB / 378.1 MB, free: 2.281 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase): time 0.02032/0.02034, allocations: 26.86 MB / 405 MB, free: 7.312 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01231/0.03265, allocations: 7.457 MB / 412.4 MB, free: 15.83 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002627/0.03528, allocations: 218.7 kB / 412.6 MB, free: 15.61 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002982/0.03826, allocations: 1.789 MB / 414.4 MB, free: 13.81 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005556/0.04382, allocations: 2.526 MB / 417 MB, free: 11.27 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002434/0.04625, allocations: 1.555 MB / 418.5 MB, free: 9.711 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.007718/0.05397, allocations: 9.194 MB / 427.7 MB, free: 492 kB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004053/0.05802, allocations: 4.026 MB / 431.7 MB, free: 12.37 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006064/0.06408, allocations: 6.238 MB / 438 MB, free: 6.121 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003739/0.06782, allocations: 4.369 MB / 442.3 MB, free: 1.742 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001011/0.06883, allocations: 1.133 MB / 443.5 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1552/0.224, allocations: 1.353 MB / 444.8 MB, free: 59.68 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002246/0.2263, allocations: 2.65 MB / 447.5 MB, free: 59.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0047/0.231, allocations: 3.291 MB / 450.8 MB, free: 59.68 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006351/0.2373, allocations: 7.562 MB / 458.3 MB, free: 59.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.2373, allocations: 0 / 458.3 MB, free: 59.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2373, allocations: 4.75 kB / 458.3 MB, free: 59.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000185/0.2375, allocations: 0 / 458.3 MB, free: 59.02 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.01212/0.2496, allocations: 9.915 MB / 468.2 MB, free: 55.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.2497, allocations: 9.5 kB / 468.3 MB, free: 55.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00522/0.2549, allocations: 2.691 MB / 470.9 MB, free: 54.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004511/0.2594, allocations: 4.899 MB / 475.8 MB, free: 51.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001999/0.2596, allocations: 0.5329 MB / 476.4 MB, free: 51.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006015/0.2602, allocations: 0.7115 MB / 477.1 MB, free: 51.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007144/0.2673, allocations: 5.862 MB / 483 MB, free: 49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001137/0.2675, allocations: 9.859 kB / 483 MB, free: 49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004239/0.2679, allocations: 301.4 kB / 483.3 MB, free: 48.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002695/0.2681, allocations: 353.2 kB / 483.6 MB, free: 48.74 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005567/0.2737, allocations: 2.807 MB / 486.4 MB, free: 48.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0227/0.2964, allocations: 24.31 MB / 0.4987 GB, free: 34.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005342/0.3018, allocations: 5.15 MB / 0.5038 GB, free: 32.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002684/0.3044, allocations: 2.297 MB / 0.506 GB, free: 32.37 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006759/0.3112, allocations: 5.631 MB / 0.5115 GB, free: 29.44 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.3112, allocations: 75.61 kB / 0.5116 GB, free: 29.37 MB / 410.7 MB Notification: Performance of pre-optimization done (n=281): time 4.428e-06/0.3112, allocations: 0 / 0.5116 GB, free: 29.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=289): time 0.01085/0.3221, allocations: 7.751 MB / 0.5192 GB, free: 23.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.3221, allocations: 91.31 kB / 0.5192 GB, free: 23.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002406/0.3245, allocations: 2.933 MB / 0.5221 GB, free: 21.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001136/0.3246, allocations: 73.7 kB / 0.5222 GB, free: 20.94 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001058/0.3257, allocations: 3.52 MB / 0.5256 GB, free: 17.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004048/0.3261, allocations: 1.068 MB / 0.5267 GB, free: 16.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005997/0.3267, allocations: 0.6846 MB / 0.5273 GB, free: 15.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.007e-05/0.3268, allocations: 480.8 kB / 0.5278 GB, free: 15.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008265/0.3276, allocations: 0.5499 MB / 0.5283 GB, free: 14.87 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001243/0.3288, allocations: 2.245 MB / 0.5305 GB, free: 11.94 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002338/0.3312, allocations: 3.059 MB / 0.5335 GB, free: 8.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-05/0.3312, allocations: 16 kB / 0.5335 GB, free: 8.305 MB / 410.7 MB Notification: Performance of matching and sorting (n=476) (initialization): time 0.003513/0.3347, allocations: 3.357 MB / 0.5368 GB, free: 5.133 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.3347, allocations: 20 kB / 0.5368 GB, free: 5.113 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.248e-05/0.3347, allocations: 36 kB / 0.5369 GB, free: 5.078 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008057/0.3355, allocations: 479.5 kB / 0.5373 GB, free: 4.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001516/0.3371, allocations: 0.8468 MB / 0.5381 GB, free: 3.797 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004335/0.3414, allocations: 9.085 MB / 0.547 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.3427, allocations: 171.7 kB / 0.5472 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001786/0.3429, allocations: 168 kB / 0.5473 GB, free: 9.961 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.001323/0.3442, allocations: 393.8 kB / 0.5477 GB, free: 9.621 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004631/0.3447, allocations: 489.5 kB / 0.5482 GB, free: 9.141 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004146/0.3488, allocations: 2.783 MB / 0.5509 GB, free: 6.324 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.3488, allocations: 28 kB / 0.5509 GB, free: 6.297 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.278e-05/0.3489, allocations: 12 kB / 0.5509 GB, free: 6.285 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-05/0.3489, allocations: 19.94 kB / 0.551 GB, free: 6.266 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009774/0.3587, allocations: 7.637 MB / 0.5584 GB, free: 14.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.3587, allocations: 4.531 kB / 0.5584 GB, free: 14.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/0.3597, allocations: 443.1 kB / 0.5588 GB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001801/0.3615, allocations: 0.8891 MB / 0.5597 GB, free: 13.25 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001738/0.3617, allocations: 79.97 kB / 0.5598 GB, free: 13.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01125/0.3729, allocations: 17.67 MB / 0.577 GB, free: 10.78 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.3729, allocations: 4 kB / 0.577 GB, free: 10.77 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005434/0.3783, allocations: 3.702 MB / 0.5807 GB, free: 6.918 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/0.3794, allocations: 0.7004 MB / 0.5813 GB, free: 6.215 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003057/0.3797, allocations: 67.98 kB / 0.5814 GB, free: 6.148 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008733/0.3806, allocations: 131.9 kB / 0.5815 GB, free: 6.02 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003715/0.3809, allocations: 236.8 kB / 0.5818 GB, free: 5.793 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/0.3811, allocations: 87.97 kB / 0.5818 GB, free: 5.707 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001898/0.383, allocations: 1.609 MB / 0.5834 GB, free: 4.113 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.383, allocations: 0 / 0.5834 GB, free: 4.113 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003116/0.3861, allocations: 1.238 MB / 0.5846 GB, free: 2.875 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.0003723/0.3865, allocations: 233 kB / 0.5848 GB, free: 2.668 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003362/0.3898, allocations: 2.881 MB / 0.5877 GB, free: 15.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.3898, allocations: 4.438 kB / 0.5877 GB, free: 15.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002258/0.3921, allocations: 2.666 MB / 0.5903 GB, free: 13.05 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002249/0.3943, allocations: 1.006 MB / 0.5912 GB, free: 12.06 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01507/0.4094, allocations: 11.24 MB / 0.6022 GB, free: 0.6562 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.131/0.5404, allocations: 1.726 MB / 0.6039 GB, free: 148.1 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0025/0.5429, allocations: 0.733 MB / 0.6046 GB, free: 148.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005235/0.5434, allocations: 273 kB / 0.6049 GB, free: 148.1 MB / 474.7 MB Notification: Performance of SimCode: time 1.142e-06/0.5434, allocations: 0.7188 kB / 0.6049 GB, free: 148.1 MB / 474.7 MB Notification: Performance of Templates: time 0.06174/0.6051, allocations: 54.4 MB / 0.658 GB, free: 126.4 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.701696494128555]