Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_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.SMPM_Inverter_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w|smpm3.is.1.|smpm3.is.2.|smpm3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpm3.stator.strayReluctance.port_p.Phi.im|smpm3.stator.strayReluctance.port_p.Phi.re|smpmM.is.1.|smpmM.is.2.|smpmM.is.3.|smpmM.is.4.|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.stator.strayReluctance.port_p.Phi.im|smpmM.stator.strayReluctance.port_p.Phi.re|vfController.x|vfController3.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w|smpm3.is.1.|smpm3.is.2.|smpm3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpm3.stator.strayReluctance.port_p.Phi.im|smpm3.stator.strayReluctance.port_p.Phi.re|smpmM.is.1.|smpmM.is.2.|smpmM.is.3.|smpmM.is.4.|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.stator.strayReluctance.port_p.Phi.im|smpmM.stator.strayReluctance.port_p.Phi.re|vfController.x|vfController3.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 111.2 kB / 18.41 MB, free: 4.688 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.001597/0.001597, allocations: 191.3 kB / 19.35 MB, free: 3.762 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.29/1.29, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001326/0.001326, allocations: 47.88 kB / 329.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07357/0.07491, allocations: 46.62 MB / 375.9 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase): time 0.1712/0.2461, allocations: 25.34 MB / 401.2 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01359/0.2598, allocations: 7.076 MB / 408.3 MB, free: 7.922 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005249/0.265, allocations: 150.6 kB / 408.4 MB, free: 7.883 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005819/0.2709, allocations: 1.782 MB / 410.2 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008104/0.2791, allocations: 2.354 MB / 412.5 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004718/0.2838, allocations: 1.527 MB / 414.1 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01129/0.2951, allocations: 8.528 MB / 422.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01037/0.3055, allocations: 7.284 MB / 429.9 MB, free: 9.473 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007042/0.3126, allocations: 4.003 MB / 433.9 MB, free: 5.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007286/0.3199, allocations: 4.616 MB / 438.5 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002732/0.3226, allocations: 1.133 MB / 439.6 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004223/0.3269, allocations: 1.347 MB / 441 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003255/0.3302, allocations: 2.524 MB / 443.5 MB, free: 11.81 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007673/0.3378, allocations: 4.715 MB / 448.2 MB, free: 7.078 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01746/0.3553, allocations: 14.76 MB / 463 MB, free: 8.273 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.3554, allocations: 0 / 463 MB, free: 8.273 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.436e-06/0.3554, allocations: 3.984 kB / 463 MB, free: 8.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003945/0.3558, allocations: 0 / 463 MB, free: 8.27 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: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.02524/0.381, allocations: 9.425 MB / 472.4 MB, free: 14.74 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.3811, allocations: 8.031 kB / 472.4 MB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01008/0.3912, allocations: 1.776 MB / 474.2 MB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01004/0.4013, allocations: 4.776 MB / 479 MB, free: 8.102 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005284/0.4018, allocations: 0.5342 MB / 479.5 MB, free: 7.566 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002139/0.404, allocations: 0.7034 MB / 480.2 MB, free: 6.863 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02277/0.4268, allocations: 9.785 MB / 490 MB, free: 13 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002794/0.4271, allocations: 7.953 kB / 490 MB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001663/0.4287, allocations: 296 kB / 490.3 MB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000346/0.4291, allocations: 354.6 kB / 490.6 MB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01787/0.447, allocations: 8.291 MB / 498.9 MB, free: 4.055 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05018/0.4972, allocations: 30.17 MB / 0.5167 GB, free: 5.172 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.015/0.5122, allocations: 16.07 MB / 0.5324 GB, free: 3.336 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004654/0.5169, allocations: 3.023 MB / 0.5353 GB, free: 304 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01374/0.5307, allocations: 8.056 MB / 0.5432 GB, free: 8.086 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.098e-05/0.5308, allocations: 64.78 kB / 0.5433 GB, free: 8.012 MB / 478.1 MB Notification: Performance of pre-optimization done (n=281): time 4.068e-06/0.5308, allocations: 0 / 0.5433 GB, free: 8.012 MB / 478.1 MB Notification: Performance of matching and sorting (n=289): time 0.1847/0.7155, allocations: 11.67 MB / 0.5547 GB, free: 145.7 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.7156, allocations: 82.44 kB / 0.5547 GB, free: 145.6 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005242/0.7208, allocations: 3.654 MB / 0.5583 GB, free: 144.4 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002874/0.7211, allocations: 73.52 kB / 0.5584 GB, free: 144.4 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001788/0.7229, allocations: 3.275 MB / 0.5616 GB, free: 141.9 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007286/0.7236, allocations: 1.04 MB / 0.5626 GB, free: 141.1 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009352/0.7246, allocations: 0.6487 MB / 0.5632 GB, free: 140.7 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.014e-05/0.7246, allocations: 306.9 kB / 0.5635 GB, free: 140.4 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002309/0.7269, allocations: 1.48 MB / 0.565 GB, free: 139.9 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002748/0.7297, allocations: 2.626 MB / 0.5675 GB, free: 137.9 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005213/0.7349, allocations: 4.386 MB / 0.5718 GB, free: 135 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.101e-05/0.735, allocations: 9.844 kB / 0.5718 GB, free: 135 MB / 478.1 MB Notification: Performance of matching and sorting (n=476) (initialization): time 0.007937/0.7429, allocations: 5.051 MB / 0.5768 GB, free: 132.7 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.883e-05/0.743, allocations: 21.38 kB / 0.5768 GB, free: 132.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.511e-05/0.743, allocations: 36.22 kB / 0.5768 GB, free: 132.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009128/0.7439, allocations: 400 kB / 0.5772 GB, free: 132.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003064/0.747, allocations: 0.8643 MB / 0.578 GB, free: 132.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005105/0.7521, allocations: 7.968 MB / 0.5858 GB, free: 125.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002713/0.7549, allocations: 174 kB / 0.586 GB, free: 125.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002499/0.7551, allocations: 166.9 kB / 0.5861 GB, free: 125.5 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 162 * 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 (451): * Single equations (assignments): 445 * 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,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002951/0.7581, allocations: 2.137 MB / 0.5882 GB, free: 124.3 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004913/0.7586, allocations: 422.2 kB / 0.5886 GB, free: 124.1 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006431/0.765, allocations: 4.463 MB / 0.593 GB, free: 122 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.357e-05/0.7651, allocations: 18.7 kB / 0.593 GB, free: 122 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.7651, allocations: 3.984 kB / 0.593 GB, free: 122 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001108/0.7662, allocations: 0.8077 MB / 0.5938 GB, free: 121.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004808/0.7667, allocations: 62.81 kB / 0.5939 GB, free: 121.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001614/0.7683, allocations: 140.6 kB / 0.594 GB, free: 121.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003463/0.7687, allocations: 238.7 kB / 0.5942 GB, free: 121.4 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007497/0.7762, allocations: 4.33 MB / 0.5985 GB, free: 119.7 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00619/0.7824, allocations: 5.249 MB / 0.6036 GB, free: 116.4 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001731/0.7841, allocations: 1.519 MB / 0.6051 GB, free: 115.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002753/0.7869, allocations: 2.465 MB / 0.6075 GB, free: 113 MB / 478.1 MB Notification: Performance of Backend: time 4.11e-07/0.7869, allocations: 4 kB / 0.6075 GB, free: 113 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005121/0.792, allocations: 3.366 MB / 0.6108 GB, free: 109.6 MB / 478.1 MB Notification: Performance of SimCode: time 0.01665/0.8087, allocations: 13.33 MB / 0.6238 GB, free: 96.2 MB / 478.1 MB Notification: Performance of Templates: time 0.08606/0.8948, allocations: 64.15 MB / 0.6864 GB, free: 32.03 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe 2>&1)