Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=30000,variableFilter="time|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w|smr3.is.1.|smr3.is.2.|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smr3.stator.strayReluctance.port_p.Phi.im|smr3.stator.strayReluctance.port_p.Phi.re|smrM.is.1.|smrM.is.2.|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.strayReluctance.port_p.Phi.im|smrM.stator.strayReluctance.port_p.Phi.re|vfController3.x|vfControllerM.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w|smr3.is.1.|smr3.is.2.|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smr3.stator.strayReluctance.port_p.Phi.im|smr3.stator.strayReluctance.port_p.Phi.re|smrM.is.1.|smrM.is.2.|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.strayReluctance.port_p.Phi.im|smrM.stator.strayReluctance.port_p.Phi.re|vfController3.x|vfControllerM.x",fileNamePrefix="Modelica_3.2.3_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.001502/0.001502, allocations: 106.3 kB / 18.4 MB, free: 4.691 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.001762/0.001762, allocations: 184.2 kB / 19.34 MB, free: 3.77 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.251/1.251, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001187/0.001187, allocations: 51.94 kB / 329.2 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06842/0.06962, allocations: 46.62 MB / 375.9 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase): time 0.158/0.2276, allocations: 23.71 MB / 399.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01172/0.2394, allocations: 6.556 MB / 406.1 MB, free: 9.562 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003171/0.2426, allocations: 145.5 kB / 406.3 MB, free: 9.523 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003497/0.2461, allocations: 1.617 MB / 407.9 MB, free: 8.629 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005833/0.252, allocations: 2.193 MB / 410.1 MB, free: 7.148 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003155/0.2551, allocations: 1.447 MB / 411.5 MB, free: 6.215 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008421/0.2636, allocations: 8.077 MB / 419.6 MB, free: 1.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007322/0.2709, allocations: 7.161 MB / 426.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00476/0.2757, allocations: 3.832 MB / 430.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004632/0.2803, allocations: 4.429 MB / 435 MB, free: 4.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001172/0.2815, allocations: 1.094 MB / 436.1 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001929/0.2834, allocations: 1.304 MB / 437.4 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00188/0.2853, allocations: 2.435 MB / 439.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004128/0.2895, allocations: 4.516 MB / 444.4 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01172/0.3012, allocations: 14.18 MB / 458.6 MB, free: 12.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.3012, allocations: 0 / 458.6 MB, free: 12.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3012, allocations: 0 / 458.6 MB, free: 12.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001516/0.3014, allocations: 4 kB / 458.6 MB, free: 12.74 MB / 382.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.01993/0.3213, allocations: 8.84 MB / 467.4 MB, free: 3.801 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.3214, allocations: 8.031 kB / 467.4 MB, free: 3.793 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008477/0.3299, allocations: 1.662 MB / 469.1 MB, free: 2.121 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007174/0.337, allocations: 4.552 MB / 473.6 MB, free: 13.49 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003444/0.3374, allocations: 0.514 MB / 474.1 MB, free: 12.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009751/0.3384, allocations: 0.6799 MB / 474.8 MB, free: 12.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01502/0.3534, allocations: 9.447 MB / 484.3 MB, free: 2.785 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001213/0.3536, allocations: 3.906 kB / 484.3 MB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006505/0.3542, allocations: 288 kB / 484.5 MB, free: 2.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002825/0.3545, allocations: 338.1 kB / 484.9 MB, free: 2.168 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01296/0.3675, allocations: 8.047 MB / 492.9 MB, free: 10.11 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03891/0.4064, allocations: 28.41 MB / 0.5091 GB, free: 13.06 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0153/0.4217, allocations: 16.59 MB / 0.5253 GB, free: 10.59 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004312/0.4261, allocations: 2.924 MB / 0.5282 GB, free: 7.645 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0118/0.4379, allocations: 7.678 MB / 0.5357 GB, free: 15.8 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.978e-05/0.4379, allocations: 72.55 kB / 0.5357 GB, free: 15.72 MB / 478.1 MB Notification: Performance of pre-optimization done (n=259): time 3.817e-06/0.4379, allocations: 0 / 0.5357 GB, free: 15.72 MB / 478.1 MB Notification: Performance of matching and sorting (n=265): time 0.02104/0.459, allocations: 11 MB / 0.5465 GB, free: 4.398 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.4591, allocations: 85.5 kB / 0.5466 GB, free: 4.301 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00441/0.4635, allocations: 3.365 MB / 0.5498 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000163/0.4636, allocations: 73.7 kB / 0.5499 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1547/0.6183, allocations: 3.035 MB / 0.5529 GB, free: 144.7 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007714/0.6191, allocations: 0.9126 MB / 0.5538 GB, free: 144.2 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008534/0.62, allocations: 0.5933 MB / 0.5543 GB, free: 144.1 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.294e-05/0.62, allocations: 305.4 kB / 0.5546 GB, free: 143.8 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002332/0.6224, allocations: 1.392 MB / 0.556 GB, free: 143.8 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002491/0.6249, allocations: 2.433 MB / 0.5584 GB, free: 142.1 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004764/0.6296, allocations: 4.077 MB / 0.5624 GB, free: 139.4 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.92e-05/0.6297, allocations: 8.812 kB / 0.5624 GB, free: 139.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.007051/0.6367, allocations: 4.697 MB / 0.5669 GB, free: 137.3 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.141e-05/0.6368, allocations: 19.41 kB / 0.567 GB, free: 137.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.695e-05/0.6368, allocations: 32.97 kB / 0.567 GB, free: 137.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000868/0.6377, allocations: 400.1 kB / 0.5674 GB, free: 137.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002946/0.6407, allocations: 0.7853 MB / 0.5681 GB, free: 137.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005346/0.646, allocations: 7.974 MB / 0.5759 GB, free: 130.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002448/0.6485, allocations: 157.8 kB / 0.5761 GB, free: 130.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002306/0.6487, allocations: 155.4 kB / 0.5762 GB, free: 130.1 MB / 478.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.003155/0.6519, allocations: 2.079 MB / 0.5783 GB, free: 129 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000547/0.6524, allocations: 363.1 kB / 0.5786 GB, free: 128.8 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006576/0.659, allocations: 4.217 MB / 0.5827 GB, free: 126.8 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.377e-05/0.6591, allocations: 16 kB / 0.5827 GB, free: 126.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/0.6591, allocations: 4 kB / 0.5827 GB, free: 126.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/0.6602, allocations: 0.7352 MB / 0.5835 GB, free: 126.3 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004593/0.6606, allocations: 64.47 kB / 0.5835 GB, free: 126.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001621/0.6622, allocations: 134.4 kB / 0.5837 GB, free: 126.2 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003394/0.6626, allocations: 219.1 kB / 0.5839 GB, free: 126.2 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007643/0.6702, allocations: 4.114 MB / 0.5879 GB, free: 124.6 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005835/0.6761, allocations: 4.925 MB / 0.5927 GB, free: 122.5 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001658/0.6778, allocations: 1.432 MB / 0.5941 GB, free: 121.9 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002621/0.6804, allocations: 2.299 MB / 0.5963 GB, free: 121 MB / 478.1 MB Notification: Performance of Backend: time 4.01e-07/0.6804, allocations: 0 / 0.5963 GB, free: 121 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004745/0.6852, allocations: 3.189 MB / 0.5995 GB, free: 118.3 MB / 478.1 MB Notification: Performance of SimCode: time 0.01437/0.6995, allocations: 12.52 MB / 0.6117 GB, free: 106.6 MB / 478.1 MB Notification: Performance of Templates: time 0.07589/0.7754, allocations: 59.27 MB / 0.6696 GB, free: 47.3 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe 2>&1)