Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_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.0009493/0.0009493, allocations: 82.59 kB / 21.42 MB, free: 3.066 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.0009627/0.0009627, allocations: 170.3 kB / 24.83 MB, free: 9.266 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 0.8836/0.8836, allocations: 177 MB / 205.1 MB, free: 5.461 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.2441/0.2441, allocations: 34.86 MB / 296.6 MB, free: 0.5078 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.SMR_Inverter_Polyphase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=13000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=13000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.183e-06/1.183e-06, allocations: 0 / 379.4 MB, free: 1.703 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.632e-05/1.75e-05, allocations: 6.953 kB / 379.4 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase): time 0.0161/0.01612, allocations: 23.81 MB / 403.2 MB, free: 9.781 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.009381/0.0255, allocations: 6.837 MB / 410 MB, free: 2.922 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003502/0.029, allocations: 206.8 kB / 410.2 MB, free: 2.719 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004142/0.03314, allocations: 1.622 MB / 411.8 MB, free: 1.086 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006322/0.03947, allocations: 2.274 MB / 414.1 MB, free: 14.8 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003214/0.04268, allocations: 1.492 MB / 415.6 MB, free: 13.3 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.008085/0.05077, allocations: 8.564 MB / 424.2 MB, free: 4.707 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004158/0.05492, allocations: 3.92 MB / 428.1 MB, free: 0.6953 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008025/0.06295, allocations: 6.091 MB / 434.2 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005759/0.06871, allocations: 4.143 MB / 438.3 MB, free: 6.441 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001857/0.07057, allocations: 1.086 MB / 439.4 MB, free: 5.355 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002986/0.07355, allocations: 1.3 MB / 440.7 MB, free: 4.055 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001583/0.07514, allocations: 2.509 MB / 443.2 MB, free: 1.539 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1446/0.2197, allocations: 3.096 MB / 446.3 MB, free: 60.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006799/0.2265, allocations: 7.174 MB / 453.5 MB, free: 59.44 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.2265, allocations: 3.141 kB / 453.5 MB, free: 59.44 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2265, allocations: 0 / 453.5 MB, free: 59.44 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003104/0.2269, allocations: 0 / 453.5 MB, free: 59.44 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: 1854 * Number of variables: 1854 Notification: Performance of Generate backend data structure: time 0.01342/0.2403, allocations: 9.097 MB / 462.6 MB, free: 56.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.2403, allocations: 9.219 kB / 462.6 MB, free: 56.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005074/0.2454, allocations: 2.401 MB / 465 MB, free: 55.87 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005585/0.251, allocations: 4.442 MB / 469.4 MB, free: 54.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002704/0.2512, allocations: 0.5062 MB / 469.9 MB, free: 54.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008635/0.2521, allocations: 0.6889 MB / 470.6 MB, free: 54.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006476/0.2586, allocations: 5.153 MB / 475.8 MB, free: 52.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001063/0.2587, allocations: 10.3 kB / 475.8 MB, free: 52.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003761/0.2591, allocations: 291.8 kB / 476.1 MB, free: 52.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001899/0.2593, allocations: 333.6 kB / 476.4 MB, free: 52.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003576/0.2628, allocations: 2.108 MB / 478.5 MB, free: 52.05 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02698/0.2898, allocations: 22.4 MB / 0.4892 GB, free: 39.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00493/0.2947, allocations: 4.841 MB / 0.4939 GB, free: 38.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002101/0.2968, allocations: 2.059 MB / 0.4959 GB, free: 38.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006299/0.3031, allocations: 5.207 MB / 0.501 GB, free: 35.65 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.3032, allocations: 71.69 kB / 0.5011 GB, free: 35.58 MB / 410.7 MB Notification: Performance of pre-optimization done (n=259): time 4.027e-06/0.3032, allocations: 3.75 kB / 0.5011 GB, free: 35.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=265): time 0.00853/0.3117, allocations: 6.014 MB / 0.5069 GB, free: 33.49 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/0.3117, allocations: 79.56 kB / 0.507 GB, free: 33.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001783/0.3135, allocations: 2.51 MB / 0.5095 GB, free: 32.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001033/0.3136, allocations: 65.7 kB / 0.5095 GB, free: 32.76 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009976/0.3146, allocations: 3.317 MB / 0.5128 GB, free: 29.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003951/0.315, allocations: 0.9879 MB / 0.5137 GB, free: 29.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005464/0.3155, allocations: 0.6515 MB / 0.5144 GB, free: 28.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.054e-05/0.3156, allocations: 476.8 kB / 0.5148 GB, free: 28.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004479/0.316, allocations: 393.8 kB / 0.5152 GB, free: 27.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008381/0.3169, allocations: 1.948 MB / 0.5171 GB, free: 25.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/0.3184, allocations: 2.58 MB / 0.5196 GB, free: 22.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-05/0.3184, allocations: 10.58 kB / 0.5196 GB, free: 22.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.002586/0.321, allocations: 2.815 MB / 0.5224 GB, free: 20.08 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.321, allocations: 20 kB / 0.5224 GB, free: 20.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-05/0.321, allocations: 32 kB / 0.5224 GB, free: 20.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007227/0.3218, allocations: 460.6 kB / 0.5229 GB, free: 19.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/0.3231, allocations: 0.7462 MB / 0.5236 GB, free: 19.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002912/0.326, allocations: 8.875 MB / 0.5323 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009328/0.3269, allocations: 111.9 kB / 0.5324 GB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/0.327, allocations: 124 kB / 0.5325 GB, free: 9.922 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 146 * 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 (406): * Single equations (assignments): 400 * 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.0008709/0.3279, allocations: 392.5 kB / 0.5329 GB, free: 9.578 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003027/0.3282, allocations: 433.8 kB / 0.5333 GB, free: 9.152 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002325/0.3305, allocations: 2.391 MB / 0.5356 GB, free: 6.738 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.3305, allocations: 31.98 kB / 0.5356 GB, free: 6.707 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.3306, allocations: 12 kB / 0.5357 GB, free: 6.695 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.3306, allocations: 11.95 kB / 0.5357 GB, free: 6.684 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006476/0.337, allocations: 6.892 MB / 0.5424 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.337, allocations: 0 / 0.5424 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007516/0.3378, allocations: 374.5 kB / 0.5428 GB, free: 160 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00146/0.3393, allocations: 0.8592 MB / 0.5436 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001226/0.3394, allocations: 71.97 kB / 0.5437 GB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008712/0.3481, allocations: 17.15 MB / 0.5604 GB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.3481, allocations: 4 kB / 0.5604 GB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003407/0.3515, allocations: 3.106 MB / 0.5634 GB, free: 10.33 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007442/0.3522, allocations: 0.5936 MB / 0.564 GB, free: 9.734 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002318/0.3525, allocations: 56 kB / 0.5641 GB, free: 9.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000678/0.3532, allocations: 104 kB / 0.5642 GB, free: 9.578 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002533/0.3534, allocations: 213.3 kB / 0.5644 GB, free: 9.371 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.843e-05/0.3535, allocations: 63.97 kB / 0.5644 GB, free: 9.309 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001037/0.3545, allocations: 1.287 MB / 0.5657 GB, free: 8.152 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3545, allocations: 0 / 0.5657 GB, free: 8.152 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002398/0.3569, allocations: 1.144 MB / 0.5668 GB, free: 7.008 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 14 (smrM.inertiaRotor.w,smrM.stator.core.Phi.re,smrM.stator.core.Phi.im,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smr3.inertiaRotor.w,smr3.stator.core.Phi.re,smr3.stator.core.Phi.im,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController3.x,vfControllerM.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 (195): * Single equations (assignments): 188 * 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,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003018/0.3572, allocations: 225.4 kB / 0.567 GB, free: 6.805 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002297/0.3595, allocations: 2.532 MB / 0.5695 GB, free: 4.316 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3595, allocations: 0 / 0.5695 GB, free: 4.316 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001837/0.3614, allocations: 2.484 MB / 0.5719 GB, free: 1.777 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001788/0.3632, allocations: 0.8345 MB / 0.5727 GB, free: 0.9531 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01098/0.3742, allocations: 10.56 MB / 0.5831 GB, free: 6.316 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001226/0.3754, allocations: 1.67 MB / 0.5847 GB, free: 4.625 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001033/0.3764, allocations: 489.9 kB / 0.5852 GB, free: 4.145 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001286/0.3777, allocations: 0.8883 MB / 0.586 GB, free: 3.254 MB / 458.7 MB Notification: Performance of SimCode: time 9.72e-07/0.3777, allocations: 0 / 0.586 GB, free: 3.254 MB / 458.7 MB Notification: Performance of Templates: time 0.1805/0.5582, allocations: 51.51 MB / 0.6363 GB, free: 113.3 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.293674224987626]