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.005466/0.005466, allocations: 76.36 kB / 20.67 MB, free: 3.891 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.006717/0.006717, allocations: 168.8 kB / 23.95 MB, free: 0.6016 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 1.597/1.597, allocations: 177 MB / 204.1 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 178] 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.4481/0.4481, allocations: 34.86 MB / 295.4 MB, free: 0.543 MB / 266.7 MB " [Timeout remaining time 179] 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.403e-06/1.403e-06, allocations: 0 / 443.6 MB, free: 408 kB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.804e-05/2.945e-05, allocations: 12.33 kB / 443.7 MB, free: 396 kB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase): time 0.1848/0.1848, allocations: 21.64 MB / 465.3 MB, free: 30.07 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01115/0.196, allocations: 6.674 MB / 472 MB, free: 25.29 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003313/0.1993, allocations: 206.7 kB / 472.2 MB, free: 25.21 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00308/0.2024, allocations: 1.631 MB / 473.8 MB, free: 24.33 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004807/0.2072, allocations: 2.256 MB / 476.1 MB, free: 22.8 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002697/0.2099, allocations: 1.479 MB / 477.5 MB, free: 21.89 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.006533/0.2164, allocations: 8.557 MB / 486.1 MB, free: 17.28 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004207/0.2206, allocations: 3.904 MB / 490 MB, free: 15.29 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007013/0.2276, allocations: 5.828 MB / 495.8 MB, free: 12.45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005747/0.2334, allocations: 3.776 MB / 499.6 MB, free: 10.96 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00187/0.2352, allocations: 1.09 MB / 0.489 GB, free: 10.96 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003105/0.2384, allocations: 1.316 MB / 0.4902 GB, free: 10.88 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002445/0.2408, allocations: 2.508 MB / 0.4927 GB, free: 9.211 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005454/0.2463, allocations: 3.079 MB / 0.4957 GB, free: 7.613 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02105/0.2673, allocations: 14.42 MB / 0.5098 GB, free: 15.74 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.2673, allocations: 1.375 kB / 0.5098 GB, free: 15.74 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2673, allocations: 0 / 0.5098 GB, free: 15.74 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000464/0.2678, allocations: 0 / 0.5098 GB, free: 15.74 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.03174/0.2995, allocations: 8.921 MB / 0.5185 GB, free: 7.988 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.2996, allocations: 12.03 kB / 0.5185 GB, free: 7.977 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01034/0.3099, allocations: 1.667 MB / 0.5201 GB, free: 6.305 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0137/0.3236, allocations: 4.791 MB / 0.5248 GB, free: 1.426 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007588/0.3244, allocations: 0.5141 MB / 0.5253 GB, free: 0.9102 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002938/0.3273, allocations: 0.6838 MB / 0.526 GB, free: 232 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02875/0.3561, allocations: 9.768 MB / 0.5355 GB, free: 6.32 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003185/0.3564, allocations: 15.88 kB / 0.5355 GB, free: 6.305 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002174/0.3585, allocations: 280 kB / 0.5358 GB, free: 6.031 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004575/0.359, allocations: 330.2 kB / 0.5361 GB, free: 5.707 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02488/0.3839, allocations: 8.077 MB / 0.544 GB, free: 13.62 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06917/0.4531, allocations: 24.44 MB / 0.5679 GB, free: 4.652 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01628/0.4693, allocations: 6.327 MB / 0.574 GB, free: 14.97 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009215/0.4785, allocations: 3.424 MB / 0.5774 GB, free: 11.54 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02104/0.4996, allocations: 7.256 MB / 0.5845 GB, free: 4.238 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.042e-05/0.4997, allocations: 60.61 kB / 0.5845 GB, free: 4.168 MB / 490.7 MB Notification: Performance of pre-optimization done (n=259): time 6.051e-06/0.4997, allocations: 0 / 0.5845 GB, free: 4.168 MB / 490.7 MB Notification: Performance of matching and sorting (n=265): time 0.03275/0.5324, allocations: 10.96 MB / 0.5952 GB, free: 9.07 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.136e-05/0.5325, allocations: 77.5 kB / 0.5953 GB, free: 8.98 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007432/0.5399, allocations: 3 MB / 0.5982 GB, free: 5.973 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005788/0.5405, allocations: 65.7 kB / 0.5983 GB, free: 5.902 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003354/0.5439, allocations: 3.155 MB / 0.6014 GB, free: 2.723 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001524/0.5454, allocations: 0.9528 MB / 0.6023 GB, free: 1.762 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002024/0.5474, allocations: 0.5976 MB / 0.6029 GB, free: 1.156 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.5476, allocations: 301.1 kB / 0.6032 GB, free: 0.8594 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003303/0.5509, allocations: 1.455 MB / 0.6046 GB, free: 15.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00448/0.5554, allocations: 2.535 MB / 0.6071 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008282/0.5637, allocations: 4.195 MB / 0.6112 GB, free: 7.723 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.626e-05/0.5637, allocations: 15.94 kB / 0.6112 GB, free: 7.707 MB / 0.5105 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.0155/0.5792, allocations: 4.905 MB / 0.616 GB, free: 2.738 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.258e-05/0.5793, allocations: 20 kB / 0.616 GB, free: 2.719 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.74e-05/0.5794, allocations: 32 kB / 0.616 GB, free: 2.688 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002334/0.5817, allocations: 0.5724 MB / 0.6166 GB, free: 2.098 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00539/0.5871, allocations: 0.7761 MB / 0.6174 GB, free: 1.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01651/0.6036, allocations: 8.862 MB / 0.626 GB, free: 8.055 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004392/0.608, allocations: 172 kB / 0.6262 GB, free: 7.887 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006364/0.6086, allocations: 148 kB / 0.6263 GB, free: 7.742 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.006271/0.6149, allocations: 2.078 MB / 0.6283 GB, free: 5.652 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001143/0.616, allocations: 349.8 kB / 0.6287 GB, free: 5.309 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0133/0.6293, allocations: 4.317 MB / 0.6329 GB, free: 0.9062 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.04e-05/0.6294, allocations: 24 kB / 0.6329 GB, free: 0.8828 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-05/0.6294, allocations: 16 kB / 0.6329 GB, free: 0.8672 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.4e-05/0.6295, allocations: 15.94 kB / 0.6329 GB, free: 0.8516 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2152/0.8446, allocations: 8.681 MB / 0.6414 GB, free: 145 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.328e-06/0.8446, allocations: 2.438 kB / 0.6414 GB, free: 145 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001657/0.8463, allocations: 405.4 kB / 0.6418 GB, free: 145 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002185/0.8485, allocations: 1.029 MB / 0.6428 GB, free: 144.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001607/0.8486, allocations: 76.44 kB / 0.6429 GB, free: 144.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01421/0.8628, allocations: 17.72 MB / 0.6602 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.8628, allocations: 7.125 kB / 0.6602 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00858/0.8714, allocations: 6.22 MB / 0.6663 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001468/0.8729, allocations: 0.6642 MB / 0.6669 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003937/0.8733, allocations: 59.52 kB / 0.667 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001532/0.8748, allocations: 133 kB / 0.6671 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004157/0.8752, allocations: 215.2 kB / 0.6673 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001526/0.8754, allocations: 80.19 kB / 0.6674 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002478/0.8778, allocations: 1.976 MB / 0.6693 GB, free: 127.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.8778, allocations: 0 / 0.6693 GB, free: 127.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003479/0.8813, allocations: 1.148 MB / 0.6704 GB, free: 127.5 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.0003981/0.8817, allocations: 218.9 kB / 0.6706 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005941/0.8877, allocations: 3.988 MB / 0.6745 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.8877, allocations: 2.312 kB / 0.6745 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004832/0.8925, allocations: 2.823 MB / 0.6773 GB, free: 124.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004692/0.8972, allocations: 0.8066 MB / 0.6781 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02466/0.9219, allocations: 11.94 MB / 0.6897 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004961/0.9268, allocations: 3.749 MB / 0.6934 GB, free: 117 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003502/0.9303, allocations: 0.7819 MB / 0.6942 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008334/0.9312, allocations: 246 kB / 0.6944 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of SimCode: time 1.022e-06/0.9312, allocations: 0 / 0.6944 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.09221/1.023, allocations: 48.04 MB / 0.7413 GB, free: 76.62 MB / 0.5261 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 -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: 8.074161201016977]