Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_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.1_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.001254/0.001254, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.001375/0.001375, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.403/1.403, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.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.0005168/0.0005168, allocations: 12 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2622, allocations: 47.59 MB / 326.5 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase): time 0.02279/0.2851, allocations: 18.95 MB / 345.4 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01534/0.3005, allocations: 6.356 MB / 351.8 MB, free: 10.14 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005112/0.3056, allocations: 135.4 kB / 351.9 MB, free: 10 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004755/0.3104, allocations: 1.158 MB / 353.1 MB, free: 8.84 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008287/0.3187, allocations: 1.908 MB / 355 MB, free: 6.926 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003969/0.3227, allocations: 0.9631 MB / 355.9 MB, free: 5.961 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01135/0.334, allocations: 5.535 MB / 361.5 MB, free: 416 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009753/0.3438, allocations: 4.971 MB / 366.4 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005287/0.3492, allocations: 2.526 MB / 369 MB, free: 8.844 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005626/0.3548, allocations: 3.097 MB / 372.1 MB, free: 5.734 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002303/0.3571, allocations: 440 kB / 372.5 MB, free: 5.305 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00362/0.3608, allocations: 0.6091 MB / 373.1 MB, free: 4.695 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002916/0.3637, allocations: 1.573 MB / 374.7 MB, free: 3.117 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003402/0.3672, allocations: 1.525 MB / 376.2 MB, free: 1.582 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01423/0.3814, allocations: 11.57 MB / 387.8 MB, free: 5.98 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.3814, allocations: 0 / 387.8 MB, free: 5.98 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.3814, allocations: 0 / 387.8 MB, free: 5.98 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000523/0.382, allocations: 0 / 387.8 MB, free: 5.98 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.02212/0.4041, allocations: 7.476 MB / 395.2 MB, free: 14.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.4042, allocations: 8.031 kB / 395.2 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01029/0.4145, allocations: 1.673 MB / 396.9 MB, free: 12.72 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01039/0.4249, allocations: 4.358 MB / 401.3 MB, free: 8.285 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005785/0.4255, allocations: 0.5176 MB / 401.8 MB, free: 7.766 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002195/0.4277, allocations: 0.6834 MB / 402.5 MB, free: 7.082 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02191/0.4496, allocations: 9.345 MB / 411.8 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001409/0.4498, allocations: 11.98 kB / 411.8 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006519/0.4505, allocations: 279.9 kB / 412.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002905/0.4508, allocations: 334.1 kB / 412.4 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01551/0.4663, allocations: 8.028 MB / 420.5 MB, free: 5.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05533/0.5217, allocations: 28.86 MB / 449.3 MB, free: 7.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2153/0.7371, allocations: 16.58 MB / 465.9 MB, free: 86.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01306/0.7502, allocations: 6.533 MB / 472.4 MB, free: 84.33 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.502e-05/0.7503, allocations: 70.36 kB / 472.5 MB, free: 84.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=281): time 4.689e-06/0.7503, allocations: 0 / 472.5 MB, free: 84.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=289): time 0.02264/0.7729, allocations: 11.97 MB / 484.5 MB, free: 78.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.773, allocations: 81.25 kB / 484.5 MB, free: 78.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004207/0.7772, allocations: 3.262 MB / 487.8 MB, free: 77.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003544/0.7776, allocations: 76.73 kB / 487.9 MB, free: 77.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001487/0.7791, allocations: 2.982 MB / 490.9 MB, free: 75.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000729/0.7798, allocations: 0.9929 MB / 491.9 MB, free: 74.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/0.78, allocations: 71.78 kB / 491.9 MB, free: 74.24 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.7802, allocations: 452.6 kB / 492.4 MB, free: 73.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002074/0.7822, allocations: 1.467 MB / 493.8 MB, free: 73.06 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00233/0.7846, allocations: 2.468 MB / 496.3 MB, free: 70.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002345/0.7869, allocations: 1.93 MB / 498.2 MB, free: 69.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-05/0.787, allocations: 11.66 kB / 498.2 MB, free: 69.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=451) (initialization): time 0.00663/0.7936, allocations: 4.883 MB / 0.4913 GB, free: 65.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.387e-05/0.7937, allocations: 19.95 kB / 0.4914 GB, free: 65.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.652e-05/0.7937, allocations: 32 kB / 0.4914 GB, free: 65.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008574/0.7946, allocations: 425.4 kB / 0.4918 GB, free: 64.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002745/0.7973, allocations: 0.8347 MB / 0.4926 GB, free: 63.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005095/0.8024, allocations: 7.719 MB / 0.5001 GB, free: 55.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00294/0.8054, allocations: 163.8 kB / 0.5003 GB, free: 55.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003294/0.8058, allocations: 152.2 kB / 0.5005 GB, free: 55.24 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 139 * 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 (423): * Single equations (assignments): 417 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 1,(3,88.9%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003723/0.8095, allocations: 2.078 MB / 0.5025 GB, free: 53.15 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008185/0.8103, allocations: 377.1 kB / 0.5028 GB, free: 52.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006553/0.8169, allocations: 4.507 MB / 0.5072 GB, free: 48.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/0.8169, allocations: 28 kB / 0.5073 GB, free: 48.13 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.515e-05/0.8169, allocations: 12 kB / 0.5073 GB, free: 48.12 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.342e-05/0.817, allocations: 15.94 kB / 0.5073 GB, free: 48.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0156/0.8326, allocations: 10.65 MB / 0.5177 GB, free: 37.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/0.8326, allocations: 4 kB / 0.5177 GB, free: 37.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001778/0.8344, allocations: 463.4 kB / 0.5181 GB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001867/0.8363, allocations: 0.8515 MB / 0.519 GB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001606/0.8365, allocations: 75.97 kB / 0.519 GB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0125/0.849, allocations: 16.29 MB / 0.5349 GB, free: 18.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.849, allocations: 4 kB / 0.535 GB, free: 18.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008566/0.8576, allocations: 6.826 MB / 0.5416 GB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0018/0.8594, allocations: 0.7658 MB / 0.5424 GB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006363/0.8601, allocations: 67.98 kB / 0.5424 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001561/0.8616, allocations: 147.9 kB / 0.5426 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004844/0.8621, allocations: 221.8 kB / 0.5428 GB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001499/0.8623, allocations: 79.98 kB / 0.5429 GB, free: 10.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00305/0.8653, allocations: 2.203 MB / 0.545 GB, free: 8.078 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.8653, allocations: 0 / 0.545 GB, free: 8.078 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004535/0.8699, allocations: 1.16 MB / 0.5461 GB, free: 6.918 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (221): * Single equations (assignments): 214 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(4,93.8%) 33,(1,100.0%) 5,(1,100.0%) 1,(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006987/0.8706, allocations: 213.4 kB / 0.5463 GB, free: 6.703 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008694/0.8793, allocations: 4.329 MB / 0.5506 GB, free: 2.262 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.387e-06/0.8794, allocations: 0 / 0.5506 GB, free: 2.262 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006119/0.8855, allocations: 2.986 MB / 0.5535 GB, free: 15.18 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006606/0.8921, allocations: 0.9334 MB / 0.5544 GB, free: 14.24 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04049/0.9327, allocations: 14.72 MB / 0.5688 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007863/0.9406, allocations: 4.354 MB / 0.573 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.006074/0.9467, allocations: 0.8485 MB / 0.5739 GB, free: 10.19 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001291/0.948, allocations: 259.4 kB / 0.5741 GB, free: 9.938 MB / 414.1 MB Notification: Performance of SimCode: time 1.553e-06/0.9481, allocations: 7.938 kB / 0.5741 GB, free: 9.93 MB / 414.1 MB Notification: Performance of Templates: time 0.3042/1.252, allocations: 51.52 MB / 0.6244 GB, free: 145.4 MB / 446.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe 2>&1) Environment - environmentSimulation: