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.0009598/0.0009598, allocations: 88.28 kB / 21.43 MB, free: 3.109 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.001032/0.001032, allocations: 154.6 kB / 24.7 MB, free: 9.441 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.9818/0.9818, allocations: 177 MB / 204.9 MB, free: 5.719 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.2775/0.2775, allocations: 34.85 MB / 296.2 MB, free: 0.5039 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.634e-06/1.634e-06, allocations: 0 / 443.7 MB, free: 1.105 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.698e-05, allocations: 2.281 kB / 443.7 MB, free: 1.102 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase): time 0.1998/0.1998, allocations: 21.66 MB / 465.4 MB, free: 30.14 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01215/0.2119, allocations: 6.677 MB / 472 MB, free: 25.35 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004492/0.2164, allocations: 208.4 kB / 472.2 MB, free: 25.27 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004091/0.2205, allocations: 1.626 MB / 473.9 MB, free: 24.4 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006772/0.2273, allocations: 2.268 MB / 476.1 MB, free: 22.86 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003376/0.2307, allocations: 1.48 MB / 477.6 MB, free: 21.95 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.007793/0.2385, allocations: 8.572 MB / 486.2 MB, free: 17.32 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004143/0.2426, allocations: 3.905 MB / 490.1 MB, free: 15.35 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007914/0.2505, allocations: 5.837 MB / 495.9 MB, free: 12.49 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006484/0.257, allocations: 3.781 MB / 499.7 MB, free: 11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002759/0.2598, allocations: 1.091 MB / 0.4891 GB, free: 11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004099/0.2639, allocations: 1.311 MB / 0.4903 GB, free: 10.93 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002202/0.2661, allocations: 2.501 MB / 0.4928 GB, free: 9.266 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00717/0.2732, allocations: 3.086 MB / 0.4958 GB, free: 7.66 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01765/0.2909, allocations: 14.43 MB / 0.5099 GB, free: 15.89 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2909, allocations: 0 / 0.5099 GB, free: 15.89 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2909, allocations: 0 / 0.5099 GB, free: 15.89 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005093/0.2914, allocations: 0 / 0.5099 GB, free: 15.89 MB / 426.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.02201/0.3134, allocations: 8.94 MB / 0.5186 GB, free: 8.344 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.3134, allocations: 11.97 kB / 0.5186 GB, free: 8.332 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004943/0.3184, allocations: 1.671 MB / 0.5203 GB, free: 6.656 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008038/0.3264, allocations: 4.803 MB / 0.525 GB, free: 1.766 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003025/0.3267, allocations: 0.5102 MB / 0.5255 GB, free: 1.254 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001269/0.328, allocations: 0.6877 MB / 0.5261 GB, free: 0.5664 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01552/0.3435, allocations: 9.768 MB / 0.5357 GB, free: 6.66 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001322/0.3437, allocations: 7.891 kB / 0.5357 GB, free: 6.652 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005241/0.3442, allocations: 288 kB / 0.5359 GB, free: 6.371 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002186/0.3444, allocations: 342.1 kB / 0.5363 GB, free: 6.035 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01391/0.3583, allocations: 8.067 MB / 0.5441 GB, free: 13.96 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04208/0.4004, allocations: 24.45 MB / 0.568 GB, free: 4.98 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007472/0.4079, allocations: 6.33 MB / 0.5742 GB, free: 15.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004001/0.4119, allocations: 3.42 MB / 0.5775 GB, free: 11.87 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01069/0.4226, allocations: 7.247 MB / 0.5846 GB, free: 4.586 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.323e-05/0.4226, allocations: 60.61 kB / 0.5847 GB, free: 4.516 MB / 490.7 MB Notification: Performance of pre-optimization done (n=259): time 5.35e-06/0.4226, allocations: 0 / 0.5847 GB, free: 4.516 MB / 490.7 MB Notification: Performance of matching and sorting (n=265): time 0.01701/0.4396, allocations: 10.97 MB / 0.5954 GB, free: 9.41 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.4397, allocations: 85.38 kB / 0.5955 GB, free: 9.312 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003653/0.4433, allocations: 3.009 MB / 0.5984 GB, free: 6.297 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002863/0.4436, allocations: 69.7 kB / 0.5985 GB, free: 6.223 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001493/0.4451, allocations: 3.163 MB / 0.6016 GB, free: 3.031 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005942/0.4457, allocations: 0.945 MB / 0.6025 GB, free: 2.078 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006286/0.4463, allocations: 0.6015 MB / 0.6031 GB, free: 1.469 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.872e-05/0.4464, allocations: 301.1 kB / 0.6034 GB, free: 1.172 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001657/0.448, allocations: 1.451 MB / 0.6048 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002146/0.4502, allocations: 2.547 MB / 0.6073 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003886/0.4541, allocations: 4.203 MB / 0.6114 GB, free: 8.02 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-05/0.4541, allocations: 12 kB / 0.6114 GB, free: 8.008 MB / 0.5105 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.005931/0.46, allocations: 4.901 MB / 0.6162 GB, free: 3.043 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.292e-05/0.4601, allocations: 19.98 kB / 0.6162 GB, free: 3.023 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.141e-05/0.4601, allocations: 36.66 kB / 0.6162 GB, free: 2.988 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009114/0.461, allocations: 0.5601 MB / 0.6168 GB, free: 2.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001611/0.4626, allocations: 0.7917 MB / 0.6175 GB, free: 1.617 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006081/0.4687, allocations: 8.849 MB / 0.6262 GB, free: 8.363 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002671/0.4714, allocations: 168 kB / 0.6263 GB, free: 8.199 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002455/0.4716, allocations: 152 kB / 0.6265 GB, free: 8.051 MB / 0.5261 GB 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.003955/0.4756, allocations: 2.074 MB / 0.6285 GB, free: 5.965 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007091/0.4763, allocations: 357.7 kB / 0.6289 GB, free: 5.613 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005383/0.4817, allocations: 4.317 MB / 0.6331 GB, free: 1.211 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/0.4817, allocations: 24.19 kB / 0.6331 GB, free: 1.188 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.715e-05/0.4817, allocations: 16 kB / 0.6331 GB, free: 1.172 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-05/0.4817, allocations: 15.89 kB / 0.6331 GB, free: 1.156 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2222/0.7039, allocations: 8.687 MB / 0.6416 GB, free: 145.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.7039, allocations: 6.75 kB / 0.6416 GB, free: 145.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009643/0.7048, allocations: 401.8 kB / 0.642 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001504/0.7063, allocations: 1.027 MB / 0.643 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/0.7065, allocations: 76.56 kB / 0.6431 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009952/0.7164, allocations: 17.72 MB / 0.6604 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.7164, allocations: 7.281 kB / 0.6604 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006389/0.7228, allocations: 6.213 MB / 0.6665 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001461/0.7243, allocations: 0.6658 MB / 0.6671 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002732/0.7245, allocations: 62.31 kB / 0.6672 GB, free: 128.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000874/0.7254, allocations: 126.7 kB / 0.6673 GB, free: 128.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003935/0.7258, allocations: 221.6 kB / 0.6675 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/0.7259, allocations: 78.69 kB / 0.6676 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002153/0.7281, allocations: 1.988 MB / 0.6695 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7281, allocations: 0 / 0.6695 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003271/0.7313, allocations: 1.149 MB / 0.6706 GB, free: 127.7 MB / 0.5261 GB 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.0004282/0.7318, allocations: 225.3 kB / 0.6708 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00495/0.7367, allocations: 3.987 MB / 0.6747 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.7367, allocations: 2.312 kB / 0.6747 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00294/0.7397, allocations: 2.81 MB / 0.6775 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003416/0.7431, allocations: 0.8093 MB / 0.6783 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01824/0.7613, allocations: 11.9 MB / 0.6899 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003185/0.7645, allocations: 3.663 MB / 0.6935 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00107/0.7656, allocations: 275.2 kB / 0.6937 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of SimCode: time 2.354e-06/0.7656, allocations: 0 / 0.6937 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.3785/1.144, allocations: 307.2 MB / 0.9937 GB, free: 68.34 MB / 0.5573 GB " [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 > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 11.888281185179949]