Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.SynchronousMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smpmE.is.1.|smpmE.is.2.|smpmE.idq_dr.1.|smpmE.idq_rr.2.|smpmE.idq_sr.1.|smpmE.idq_sr.2.|smpmM.is.1.|smpmM.is.2.|smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smpmE.is.1.|smpmE.is.2.|smpmE.idq_dr.1.|smpmE.idq_rr.2.|smpmE.idq_sr.1.|smpmE.idq_sr.2.|smpmM.is.1.|smpmM.is.2.|smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 107.2 kB / 17.74 MB, free: 5.359 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.001778/0.001778, allocations: 186.4 kB / 18.67 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001013/0.001013, allocations: 47.94 kB / 352 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.212, allocations: 49.44 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter): time 0.03012/0.2422, allocations: 21.74 MB / 423.2 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01648/0.2587, allocations: 6.405 MB / 429.6 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003108/0.2618, allocations: 135.5 kB / 429.7 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003523/0.2654, allocations: 1.549 MB / 431.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005179/0.2706, allocations: 2.147 MB / 433.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002629/0.2733, allocations: 1.286 MB / 434.7 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006489/0.2798, allocations: 6.529 MB / 441.2 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006432/0.2862, allocations: 5.575 MB / 446.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003479/0.2897, allocations: 3.014 MB / 449.8 MB, free: 8.223 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004814/0.2945, allocations: 3.573 MB / 453.4 MB, free: 4.637 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001172/0.2957, allocations: 0.8164 MB / 454.2 MB, free: 3.82 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002171/0.2979, allocations: 1.093 MB / 455.3 MB, free: 2.727 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001743/0.2996, allocations: 2.026 MB / 457.3 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003446/0.3031, allocations: 3.539 MB / 460.9 MB, free: 13.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009628/0.3127, allocations: 10.8 MB / 471.7 MB, free: 2.309 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3128, allocations: 0 / 471.7 MB, free: 2.309 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.3128, allocations: 0 / 471.7 MB, free: 2.309 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001657/0.3129, allocations: 3.938 kB / 471.7 MB, free: 2.305 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: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.01518/0.3281, allocations: 6.914 MB / 478.6 MB, free: 11.31 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.3282, allocations: 8.031 kB / 478.6 MB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004815/0.333, allocations: 1.063 MB / 479.7 MB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006255/0.3393, allocations: 3.761 MB / 483.4 MB, free: 6.395 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002699/0.3395, allocations: 395.1 kB / 483.8 MB, free: 6.008 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000744/0.3403, allocations: 0.5272 MB / 484.3 MB, free: 5.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01112/0.3514, allocations: 7.067 MB / 491.4 MB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001026/0.3515, allocations: 7.906 kB / 491.4 MB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004944/0.352, allocations: 220 kB / 491.6 MB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000225/0.3523, allocations: 258.6 kB / 491.9 MB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009338/0.3616, allocations: 5.952 MB / 497.8 MB, free: 7.902 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02997/0.3916, allocations: 22.15 MB / 0.5078 GB, free: 1.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007813/0.3994, allocations: 8.29 MB / 0.5159 GB, free: 7.992 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003151/0.4026, allocations: 2.159 MB / 0.518 GB, free: 5.824 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00995/0.4126, allocations: 6.168 MB / 0.524 GB, free: 15.52 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.4126, allocations: 56.56 kB / 0.5241 GB, free: 15.46 MB / 462.1 MB Notification: Performance of pre-optimization done (n=220): time 3.717e-06/0.4126, allocations: 0 / 0.5241 GB, free: 15.46 MB / 462.1 MB Notification: Performance of matching and sorting (n=240): time 0.02077/0.4334, allocations: 11.04 MB / 0.5348 GB, free: 4.188 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.4335, allocations: 81.34 kB / 0.5349 GB, free: 4.098 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003928/0.4374, allocations: 3.144 MB / 0.538 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000145/0.4376, allocations: 69.64 kB / 0.5381 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1692/0.6068, allocations: 2.496 MB / 0.5405 GB, free: 126.3 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007832/0.6076, allocations: 0.8262 MB / 0.5413 GB, free: 125.8 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009257/0.6085, allocations: 0.5568 MB / 0.5419 GB, free: 125.8 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.423e-05/0.6086, allocations: 305.8 kB / 0.5421 GB, free: 125.5 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002143/0.6107, allocations: 1.336 MB / 0.5434 GB, free: 125.2 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002064/0.6128, allocations: 2.34 MB / 0.5457 GB, free: 123.4 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003969/0.6168, allocations: 3.927 MB / 0.5496 GB, free: 120.9 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.326e-05/0.6168, allocations: 12.23 kB / 0.5496 GB, free: 120.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=406) (initialization): time 0.006376/0.6232, allocations: 4.702 MB / 0.5542 GB, free: 118.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.6232, allocations: 19.91 kB / 0.5542 GB, free: 118.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.61e-05/0.6233, allocations: 30.69 kB / 0.5542 GB, free: 118.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/0.6243, allocations: 0.5307 MB / 0.5547 GB, free: 118.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002484/0.6268, allocations: 0.7377 MB / 0.5555 GB, free: 118.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006312/0.6331, allocations: 10.27 MB / 0.5655 GB, free: 109.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002164/0.6353, allocations: 190 kB / 0.5657 GB, free: 109.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001801/0.6355, allocations: 143.1 kB / 0.5658 GB, free: 109.8 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 144 * 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 (380): * Single equations (assignments): 373 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * 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): 5 systems {(3,12,100.0%), (1,3,100.0%), (1,1,100.0%), (1,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001996/0.6375, allocations: 1.572 MB / 0.5673 GB, free: 108.9 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003944/0.6379, allocations: 351.7 kB / 0.5677 GB, free: 108.6 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00545/0.6433, allocations: 4.061 MB / 0.5716 GB, free: 105 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-05/0.6434, allocations: 11.95 kB / 0.5717 GB, free: 105 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.6434, allocations: 0 / 0.5717 GB, free: 105 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/0.6445, allocations: 0.6881 MB / 0.5723 GB, free: 104.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000438/0.6449, allocations: 59.92 kB / 0.5724 GB, free: 104.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001519/0.6465, allocations: 143.8 kB / 0.5725 GB, free: 104 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002908/0.6468, allocations: 181.7 kB / 0.5727 GB, free: 103.9 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006619/0.6534, allocations: 3.809 MB / 0.5764 GB, free: 100.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005442/0.6588, allocations: 4.779 MB / 0.5811 GB, free: 95.27 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001529/0.6604, allocations: 1.359 MB / 0.5824 GB, free: 93.91 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00231/0.6627, allocations: 2.123 MB / 0.5845 GB, free: 91.8 MB / 462.1 MB Notification: Performance of Backend: time 3.61e-07/0.6627, allocations: 0 / 0.5845 GB, free: 91.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004646/0.6674, allocations: 3.279 MB / 0.5877 GB, free: 88.46 MB / 462.1 MB Notification: Performance of SimCode: time 0.01169/0.6791, allocations: 10.29 MB / 0.5977 GB, free: 78.16 MB / 462.1 MB Notification: Performance of Templates: time 0.07095/0.75, allocations: 54.99 MB / 0.6514 GB, free: 23.8 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.pipe 2>&1)