Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001281/0.001281, allocations: 114.3 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001162/0.001162, allocations: 206.8 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.297/1.297, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 63.89 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2019, allocations: 50.53 MB / 410 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter): time 0.02285/0.2247, allocations: 22.39 MB / 432.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01138/0.2362, allocations: 6.655 MB / 439 MB, free: 4.445 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002793/0.239, allocations: 143.4 kB / 439.1 MB, free: 4.305 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003742/0.2427, allocations: 1.564 MB / 440.7 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00532/0.2481, allocations: 2.124 MB / 442.8 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002686/0.2508, allocations: 1.34 MB / 444.2 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006268/0.257, allocations: 6.587 MB / 450.8 MB, free: 8.641 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005905/0.263, allocations: 5.583 MB / 456.3 MB, free: 2.977 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003379/0.2664, allocations: 3.022 MB / 459.4 MB, free: 15.94 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004173/0.2705, allocations: 3.686 MB / 463 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009837/0.2715, allocations: 0.8164 MB / 463.9 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001863/0.2734, allocations: 1.121 MB / 465 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001669/0.2751, allocations: 2.026 MB / 467 MB, free: 8.277 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003217/0.2783, allocations: 3.547 MB / 470.6 MB, free: 4.715 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009853/0.2882, allocations: 10.88 MB / 481.4 MB, free: 9.801 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.2882, allocations: 7.984 kB / 481.4 MB, free: 9.793 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.2882, allocations: 0 / 481.4 MB, free: 9.793 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001151/0.2883, allocations: 3.938 kB / 481.4 MB, free: 9.789 MB / 398.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.01373/0.3021, allocations: 7.114 MB / 488.6 MB, free: 2.586 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.3021, allocations: 8.031 kB / 488.6 MB, free: 2.578 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004789/0.3069, allocations: 1.102 MB / 489.7 MB, free: 1.473 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005898/0.3128, allocations: 3.791 MB / 493.5 MB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000272/0.3131, allocations: 407 kB / 493.9 MB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007567/0.3139, allocations: 0.5233 MB / 494.4 MB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01099/0.3249, allocations: 7.059 MB / 0.4897 GB, free: 5.555 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001486/0.325, allocations: 19.94 kB / 0.4897 GB, free: 5.535 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005653/0.3256, allocations: 216 kB / 0.4899 GB, free: 5.324 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002751/0.3259, allocations: 258.6 kB / 0.4902 GB, free: 5.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009929/0.3358, allocations: 5.948 MB / 0.496 GB, free: 15.11 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03018/0.366, allocations: 22.39 MB / 0.5178 GB, free: 8.125 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008066/0.3741, allocations: 8.558 MB / 0.5262 GB, free: 14.63 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003474/0.3776, allocations: 2.269 MB / 0.5284 GB, free: 12.35 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009876/0.3875, allocations: 6.448 MB / 0.5347 GB, free: 5.707 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.3875, allocations: 60.56 kB / 0.5348 GB, free: 5.637 MB / 462.1 MB Notification: Performance of pre-optimization done (n=220): time 3.497e-06/0.3876, allocations: 0 / 0.5348 GB, free: 5.637 MB / 462.1 MB Notification: Performance of matching and sorting (n=240): time 0.183/0.5706, allocations: 11.17 MB / 0.5457 GB, free: 118.6 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.5706, allocations: 77.75 kB / 0.5457 GB, free: 118.5 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004518/0.5752, allocations: 3.172 MB / 0.5488 GB, free: 117.4 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000193/0.5754, allocations: 65.52 kB / 0.5489 GB, free: 117.3 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00122/0.5766, allocations: 2.581 MB / 0.5514 GB, free: 115.6 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004615/0.5771, allocations: 0.8672 MB / 0.5523 GB, free: 115.1 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007066/0.5778, allocations: 0.5686 MB / 0.5528 GB, free: 114.8 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.286e-05/0.5778, allocations: 305.8 kB / 0.5531 GB, free: 114.5 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001779/0.5796, allocations: 1.333 MB / 0.5544 GB, free: 114 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002121/0.5817, allocations: 2.337 MB / 0.5567 GB, free: 112.3 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004047/0.5858, allocations: 3.914 MB / 0.5605 GB, free: 109.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-05/0.5858, allocations: 11.34 kB / 0.5605 GB, free: 109.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=406) (initialization): time 0.006222/0.5921, allocations: 4.742 MB / 0.5652 GB, free: 107.6 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.5921, allocations: 19.34 kB / 0.5652 GB, free: 107.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-05/0.5921, allocations: 38.06 kB / 0.5652 GB, free: 107.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00106/0.5932, allocations: 0.542 MB / 0.5657 GB, free: 107.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002494/0.5957, allocations: 0.7431 MB / 0.5665 GB, free: 106.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006448/0.6022, allocations: 10.45 MB / 0.5767 GB, free: 95.74 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002176/0.6044, allocations: 187.8 kB / 0.5769 GB, free: 95.56 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001815/0.6045, allocations: 144 kB / 0.577 GB, free: 95.42 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 (377): * Single equations (assignments): 370 * 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,6,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.002154/0.6067, allocations: 1.582 MB / 0.5785 GB, free: 93.85 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003973/0.6071, allocations: 365.7 kB / 0.5789 GB, free: 93.49 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005534/0.6127, allocations: 4.072 MB / 0.5829 GB, free: 89.32 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.86e-05/0.6127, allocations: 15.95 kB / 0.5829 GB, free: 89.31 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.6127, allocations: 0 / 0.5829 GB, free: 89.31 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009433/0.6136, allocations: 0.7056 MB / 0.5836 GB, free: 88.58 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004319/0.6141, allocations: 56.11 kB / 0.5836 GB, free: 88.53 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001481/0.6156, allocations: 150.7 kB / 0.5838 GB, free: 88.38 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002944/0.6159, allocations: 189.7 kB / 0.5839 GB, free: 88.2 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006598/0.6225, allocations: 3.825 MB / 0.5877 GB, free: 84.4 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005497/0.628, allocations: 4.762 MB / 0.5923 GB, free: 79.61 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001558/0.6296, allocations: 1.347 MB / 0.5936 GB, free: 78.26 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002326/0.6319, allocations: 2.139 MB / 0.5957 GB, free: 76.13 MB / 462.1 MB Notification: Performance of Backend: time 3.4e-07/0.6319, allocations: 0 / 0.5957 GB, free: 76.13 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004613/0.6365, allocations: 3.302 MB / 0.599 GB, free: 72.76 MB / 462.1 MB Notification: Performance of SimCode: time 0.01201/0.6486, allocations: 10.54 MB / 0.6093 GB, free: 62.2 MB / 462.1 MB Notification: Performance of Templates: time 0.07398/0.7225, allocations: 55.43 MB / 0.6634 GB, free: 7.32 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.pipe 2>&1)