Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007674/0.0007674, allocations: 92.55 kB / 16.65 MB, free: 6.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008133/0.0008133, allocations: 182.1 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.354/1.354, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005045/0.0005046, allocations: 12 kB / 280.7 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1024, allocations: 47.59 MB / 328.3 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase): time 0.02378/0.1262, allocations: 22.4 MB / 350.7 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01497/0.1413, allocations: 6.395 MB / 357.1 MB, free: 6.836 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004075/0.1454, allocations: 135.4 kB / 357.3 MB, free: 6.703 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00446/0.1499, allocations: 1.34 MB / 358.6 MB, free: 5.355 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006992/0.1569, allocations: 1.892 MB / 360.5 MB, free: 3.453 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004291/0.1612, allocations: 1.314 MB / 361.8 MB, free: 2.137 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01251/0.1737, allocations: 8.535 MB / 370.3 MB, free: 9.562 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009201/0.183, allocations: 5.887 MB / 376.2 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004928/0.188, allocations: 2.626 MB / 378.9 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1847/0.3727, allocations: 3.517 MB / 382.4 MB, free: 17.31 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002697/0.3755, allocations: 451 kB / 382.8 MB, free: 17.31 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003999/0.3795, allocations: 0.6529 MB / 383.5 MB, free: 17.31 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002806/0.3823, allocations: 1.653 MB / 385.1 MB, free: 17.31 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0102/0.3925, allocations: 3.68 MB / 388.8 MB, free: 16.34 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01655/0.4091, allocations: 13.25 MB / 402.1 MB, free: 11.2 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.4092, allocations: 1.281 kB / 402.1 MB, free: 11.2 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.557e-06/0.4092, allocations: 0 / 402.1 MB, free: 11.2 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0005234/0.4097, allocations: 0 / 402.1 MB, free: 11.2 MB / 318.1 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.02276/0.4325, allocations: 7.408 MB / 409.5 MB, free: 7.238 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.4326, allocations: 7.562 kB / 409.5 MB, free: 7.238 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01058/0.4432, allocations: 1.685 MB / 411.2 MB, free: 6.551 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01244/0.4556, allocations: 4.409 MB / 415.6 MB, free: 5.094 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000678/0.4563, allocations: 0.5238 MB / 416.1 MB, free: 5.074 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003201/0.4596, allocations: 0.6783 MB / 416.8 MB, free: 4.887 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02254/0.4821, allocations: 9.46 MB / 426.2 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001756/0.4823, allocations: 11.47 kB / 426.2 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009057/0.4833, allocations: 283.4 kB / 426.5 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003148/0.4836, allocations: 338.2 kB / 426.8 MB, free: 13.6 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01805/0.5016, allocations: 8.078 MB / 434.9 MB, free: 5.512 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0676/0.5693, allocations: 28.95 MB / 463.9 MB, free: 8.562 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01835/0.5877, allocations: 16.6 MB / 480.5 MB, free: 6.098 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00675/0.5945, allocations: 2.971 MB / 483.4 MB, free: 3.117 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01954/0.6141, allocations: 7.763 MB / 491.2 MB, free: 11.31 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.54e-05/0.6142, allocations: 60.61 kB / 491.3 MB, free: 11.24 MB / 398.1 MB Notification: Performance of pre-optimization done (n=259): time 5.12e-06/0.6142, allocations: 0 / 491.3 MB, free: 11.24 MB / 398.1 MB Notification: Performance of matching and sorting (n=265): time 0.02588/0.6401, allocations: 11.12 MB / 0.4906 GB, free: 15.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.6401, allocations: 77.5 kB / 0.4907 GB, free: 15.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007401/0.6476, allocations: 3.369 MB / 0.494 GB, free: 12.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005309/0.6481, allocations: 73.7 kB / 0.494 GB, free: 12.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002884/0.651, allocations: 3.039 MB / 0.497 GB, free: 9.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001383/0.6524, allocations: 0.9127 MB / 0.4979 GB, free: 8.344 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006182/0.653, allocations: 268.9 kB / 0.4982 GB, free: 8.074 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.6532, allocations: 309.1 kB / 0.4985 GB, free: 7.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002999/0.6562, allocations: 1.404 MB / 0.4998 GB, free: 6.367 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003793/0.66, allocations: 2.451 MB / 0.5022 GB, free: 3.477 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006318/0.6663, allocations: 4.113 MB / 0.5062 GB, free: 15.01 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-05/0.6664, allocations: 12 kB / 0.5063 GB, free: 15 MB / 430.1 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.008425/0.6748, allocations: 4.719 MB / 0.5109 GB, free: 10.4 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.088e-05/0.6749, allocations: 20.75 kB / 0.5109 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-05/0.6749, allocations: 35.94 kB / 0.5109 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001062/0.676, allocations: 407.3 kB / 0.5113 GB, free: 9.934 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002926/0.6789, allocations: 0.8016 MB / 0.5121 GB, free: 9.184 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007363/0.6863, allocations: 7.336 MB / 0.5192 GB, free: 1.359 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004097/0.6905, allocations: 167.8 kB / 0.5194 GB, free: 1.195 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006782/0.6912, allocations: 152.1 kB / 0.5196 GB, free: 1.047 MB / 430.1 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 (411): * Single equations (assignments): 405 * 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,5,100.0%), (1,1,100.0%), (3,14,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005504/0.6967, allocations: 2.075 MB / 0.5216 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001117/0.6978, allocations: 367.5 kB / 0.5219 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008634/0.7064, allocations: 4.249 MB / 0.5261 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.458e-05/0.7065, allocations: 27.98 kB / 0.5261 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.44e-05/0.7065, allocations: 15.94 kB / 0.5261 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.957e-05/0.7066, allocations: 15.94 kB / 0.5261 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01755/0.7241, allocations: 9.911 MB / 0.5358 GB, free: 272 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/0.7242, allocations: 4.031 kB / 0.5358 GB, free: 268 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2431/0.9673, allocations: 404.8 kB / 0.5362 GB, free: 154.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002573/0.9699, allocations: 0.8473 MB / 0.537 GB, free: 154.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004649/0.9704, allocations: 74 kB / 0.5371 GB, free: 154.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01608/0.9865, allocations: 16.08 MB / 0.5528 GB, free: 144.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.9866, allocations: 7.25 kB / 0.5528 GB, free: 144.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01095/0.9975, allocations: 6.083 MB / 0.5587 GB, free: 141.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002026/0.9996, allocations: 0.7484 MB / 0.5595 GB, free: 141.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006801/1, allocations: 65.42 kB / 0.5595 GB, free: 141.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001763/1.002, allocations: 145 kB / 0.5597 GB, free: 141.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005384/1.003, allocations: 206.1 kB / 0.5599 GB, free: 141.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001458/1.003, allocations: 78.28 kB / 0.56 GB, free: 141.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003394/1.006, allocations: 2.291 MB / 0.5622 GB, free: 140.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/1.006, allocations: 6.75 kB / 0.5622 GB, free: 140.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003978/1.01, allocations: 1.138 MB / 0.5633 GB, free: 140.1 MB / 446.1 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 (198): * Single equations (assignments): 191 * 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,5,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.0005245/1.011, allocations: 206.4 kB / 0.5635 GB, free: 139.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005884/1.017, allocations: 4.143 MB / 0.5676 GB, free: 138 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/1.017, allocations: 3.531 kB / 0.5676 GB, free: 138 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003891/1.021, allocations: 2.867 MB / 0.5704 GB, free: 136.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006008/1.027, allocations: 0.9516 MB / 0.5713 GB, free: 136.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01988/1.046, allocations: 15.25 MB / 0.5862 GB, free: 123.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003474/1.05, allocations: 4.226 MB / 0.5903 GB, free: 119.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002927/1.053, allocations: 0.8326 MB / 0.5911 GB, free: 119.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006257/1.054, allocations: 253.6 kB / 0.5914 GB, free: 118.9 MB / 446.1 MB Notification: Performance of SimCode: time 8.41e-07/1.054, allocations: 1.641 kB / 0.5914 GB, free: 118.9 MB / 446.1 MB Notification: Performance of Templates: time 0.07719/1.131, allocations: 52.81 MB / 0.6429 GB, free: 66.65 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe 2>&1)