Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_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.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smrE.is.1.|smrE.is.2.|smrE.idq_rr.1.|smrE.idq_rr.2.|smrE.idq_sr.1.|smrE.idq_sr.2.|smrM.is.1.|smrM.is.2.|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smrE.is.1.|smrE.is.2.|smrE.idq_rr.1.|smrE.idq_rr.2.|smrE.idq_sr.1.|smrE.idq_sr.2.|smrM.is.1.|smrM.is.2.|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00109/0.00109, allocations: 114.3 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001189/0.001189, allocations: 214.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 63.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.207, allocations: 50.54 MB / 410 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter): time 0.02099/0.228, allocations: 20.92 MB / 430.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01106/0.2391, allocations: 6.18 MB / 437.1 MB, free: 6.387 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002868/0.242, allocations: 139.4 kB / 437.2 MB, free: 6.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003531/0.2455, allocations: 1.366 MB / 438.6 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005082/0.2507, allocations: 1.895 MB / 440.5 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00294/0.2536, allocations: 1.274 MB / 441.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006514/0.2601, allocations: 6.171 MB / 447.9 MB, free: 11.49 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005668/0.2658, allocations: 5.435 MB / 453.3 MB, free: 5.973 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003133/0.269, allocations: 2.862 MB / 456.2 MB, free: 3.102 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003921/0.2729, allocations: 3.507 MB / 459.7 MB, free: 15.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009693/0.2739, allocations: 0.7851 MB / 460.5 MB, free: 14.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001766/0.2756, allocations: 1.089 MB / 461.6 MB, free: 13.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001576/0.2772, allocations: 1.944 MB / 463.5 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003044/0.2803, allocations: 3.364 MB / 466.9 MB, free: 8.383 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008685/0.289, allocations: 10.36 MB / 477.2 MB, free: 14 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.289, allocations: 0 / 477.2 MB, free: 14 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.289, allocations: 0 / 477.2 MB, free: 14 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001386/0.2892, allocations: 0 / 477.2 MB, free: 14 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: 1347 * Number of variables: 1347 Notification: Performance of Generate backend data structure: time 0.01404/0.3032, allocations: 6.62 MB / 483.9 MB, free: 7.293 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.3033, allocations: 8.031 kB / 483.9 MB, free: 7.285 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004499/0.3078, allocations: 1.013 MB / 484.9 MB, free: 6.266 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006153/0.3139, allocations: 3.591 MB / 488.5 MB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002802/0.3142, allocations: 390.6 kB / 488.9 MB, free: 2.215 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006992/0.3149, allocations: 0.4999 MB / 489.4 MB, free: 1.715 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01032/0.3253, allocations: 6.779 MB / 496.1 MB, free: 10.87 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001172/0.3254, allocations: 11.91 kB / 496.1 MB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004648/0.3259, allocations: 212 kB / 496.4 MB, free: 10.65 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002096/0.3261, allocations: 242.2 kB / 496.6 MB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009134/0.3352, allocations: 5.755 MB / 0.4906 GB, free: 4.645 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02892/0.3642, allocations: 20.92 MB / 0.511 GB, free: 15.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008002/0.3722, allocations: 8.808 MB / 0.5196 GB, free: 5.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003306/0.3755, allocations: 2.194 MB / 0.5217 GB, free: 3.203 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00931/0.3849, allocations: 6.203 MB / 0.5278 GB, free: 12.8 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.3849, allocations: 56.56 kB / 0.5279 GB, free: 12.73 MB / 462.1 MB Notification: Performance of pre-optimization done (n=205): time 3.236e-06/0.3849, allocations: 0 / 0.5279 GB, free: 12.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=222): time 0.01911/0.404, allocations: 10.43 MB / 0.538 GB, free: 2.055 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.4041, allocations: 73.41 kB / 0.5381 GB, free: 1.973 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1735/0.5776, allocations: 2.922 MB / 0.541 GB, free: 120.4 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003313/0.578, allocations: 64.83 kB / 0.541 GB, free: 120.3 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001265/0.5793, allocations: 2.366 MB / 0.5433 GB, free: 119.3 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000456/0.5797, allocations: 0.7692 MB / 0.5441 GB, free: 118.7 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006868/0.5804, allocations: 0.5157 MB / 0.5446 GB, free: 118.5 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.258e-05/0.5805, allocations: 308.2 kB / 0.5449 GB, free: 118.2 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001823/0.5823, allocations: 1.269 MB / 0.5461 GB, free: 117.7 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001905/0.5842, allocations: 2.173 MB / 0.5482 GB, free: 116.1 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003701/0.5879, allocations: 3.668 MB / 0.5518 GB, free: 113.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.131e-05/0.588, allocations: 7.812 kB / 0.5518 GB, free: 113.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.005982/0.5939, allocations: 4.464 MB / 0.5562 GB, free: 111.9 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/0.594, allocations: 15.72 kB / 0.5562 GB, free: 111.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.077e-05/0.594, allocations: 31.44 kB / 0.5562 GB, free: 111.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.5951, allocations: 0.5323 MB / 0.5568 GB, free: 111.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00227/0.5974, allocations: 0.6873 MB / 0.5574 GB, free: 111.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006308/0.6037, allocations: 10.34 MB / 0.5675 GB, free: 103 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00213/0.6058, allocations: 175.2 kB / 0.5677 GB, free: 102.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001673/0.606, allocations: 133.9 kB / 0.5678 GB, free: 102.9 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 129 * 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 (345): * Single equations (assignments): 338 * 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,11,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.001859/0.6079, allocations: 1.526 MB / 0.5693 GB, free: 102.1 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003896/0.6083, allocations: 322.5 kB / 0.5696 GB, free: 101.9 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005232/0.6135, allocations: 3.895 MB / 0.5734 GB, free: 98.46 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.906e-05/0.6135, allocations: 11.97 kB / 0.5734 GB, free: 98.45 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.6135, allocations: 4.109 kB / 0.5734 GB, free: 98.44 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001134/0.6147, allocations: 0.6532 MB / 0.5741 GB, free: 97.77 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003741/0.6151, allocations: 48 kB / 0.5741 GB, free: 97.72 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001391/0.6165, allocations: 145 kB / 0.5743 GB, free: 97.58 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002621/0.6167, allocations: 173.7 kB / 0.5744 GB, free: 97.41 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006213/0.623, allocations: 3.67 MB / 0.578 GB, free: 93.77 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00512/0.6281, allocations: 4.53 MB / 0.5824 GB, free: 89.22 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001423/0.6295, allocations: 1.292 MB / 0.5837 GB, free: 87.93 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0021/0.6316, allocations: 1.972 MB / 0.5856 GB, free: 85.96 MB / 462.1 MB Notification: Performance of Backend: time 6.91e-07/0.6316, allocations: 4 kB / 0.5856 GB, free: 85.95 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004444/0.6361, allocations: 3.173 MB / 0.5887 GB, free: 82.71 MB / 462.1 MB Notification: Performance of SimCode: time 0.01109/0.6472, allocations: 9.809 MB / 0.5983 GB, free: 72.9 MB / 462.1 MB Notification: Performance of Templates: time 0.06626/0.7135, allocations: 51.17 MB / 0.6483 GB, free: 22.26 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe 2>&1)