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.001079/0.001079, allocations: 118.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.001114/0.001114, allocations: 202.7 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.4 MB / 247.6 MB, free: 10.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 63.89 kB / 359.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2101, allocations: 50.54 MB / 410 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter): time 0.02166/0.2318, allocations: 20.91 MB / 430.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01113/0.243, allocations: 6.18 MB / 437.1 MB, free: 6.344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002931/0.2459, allocations: 135.5 kB / 437.2 MB, free: 6.211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00365/0.2496, allocations: 1.413 MB / 438.6 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005327/0.255, allocations: 1.969 MB / 440.6 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002967/0.258, allocations: 1.283 MB / 441.9 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006891/0.2649, allocations: 6.16 MB / 448 MB, free: 11.34 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005858/0.2707, allocations: 5.454 MB / 453.5 MB, free: 5.797 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003289/0.274, allocations: 2.862 MB / 456.3 MB, free: 2.926 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003942/0.278, allocations: 3.507 MB / 459.8 MB, free: 15.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009725/0.279, allocations: 0.7852 MB / 460.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001872/0.2809, allocations: 1.086 MB / 461.7 MB, free: 13.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001702/0.2826, allocations: 1.94 MB / 463.7 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003218/0.2858, allocations: 3.364 MB / 467 MB, free: 8.211 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009725/0.2955, allocations: 10.38 MB / 477.4 MB, free: 13.8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2956, allocations: 4 kB / 477.4 MB, free: 13.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2956, allocations: 3.938 kB / 477.4 MB, free: 13.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001624/0.2957, allocations: 0 / 477.4 MB, free: 13.79 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.01372/0.3095, allocations: 6.772 MB / 484.2 MB, free: 6.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.3095, allocations: 8.031 kB / 484.2 MB, free: 6.922 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004562/0.3141, allocations: 1.047 MB / 485.2 MB, free: 5.871 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005782/0.3199, allocations: 3.613 MB / 488.8 MB, free: 2.184 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002734/0.3202, allocations: 382.6 kB / 489.2 MB, free: 1.809 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007417/0.3209, allocations: 0.5117 MB / 489.7 MB, free: 1.297 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01062/0.3315, allocations: 6.779 MB / 496.5 MB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001168/0.3317, allocations: 15.95 kB / 496.5 MB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004931/0.3322, allocations: 204 kB / 496.7 MB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002147/0.3324, allocations: 246.2 kB / 497 MB, free: 9.992 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009389/0.3418, allocations: 5.748 MB / 0.4909 GB, free: 4.234 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02926/0.3711, allocations: 20.98 MB / 0.5114 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008088/0.3792, allocations: 8.82 MB / 0.52 GB, free: 4.934 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00343/0.3827, allocations: 2.191 MB / 0.5222 GB, free: 2.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009847/0.3925, allocations: 6.204 MB / 0.5282 GB, free: 12.33 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/0.3926, allocations: 60.56 kB / 0.5283 GB, free: 12.26 MB / 462.1 MB Notification: Performance of pre-optimization done (n=205): time 3.196e-06/0.3926, allocations: 0 / 0.5283 GB, free: 12.26 MB / 462.1 MB Notification: Performance of matching and sorting (n=222): time 0.01925/0.4118, allocations: 10.5 MB / 0.5385 GB, free: 1.508 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.4119, allocations: 77.41 kB / 0.5386 GB, free: 1.422 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1776/0.5895, allocations: 2.919 MB / 0.5415 GB, free: 120.3 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003355/0.5899, allocations: 63.53 kB / 0.5415 GB, free: 120.2 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001187/0.5911, allocations: 2.43 MB / 0.5439 GB, free: 119.4 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004999/0.5916, allocations: 0.8043 MB / 0.5447 GB, free: 118.8 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007309/0.5923, allocations: 0.5196 MB / 0.5452 GB, free: 118.6 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.312e-05/0.5924, allocations: 305.7 kB / 0.5455 GB, free: 118.3 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001777/0.5941, allocations: 1.277 MB / 0.5467 GB, free: 117.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001949/0.5961, allocations: 2.173 MB / 0.5489 GB, free: 116.3 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003757/0.5999, allocations: 3.673 MB / 0.5524 GB, free: 113.9 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-05/0.5999, allocations: 7.938 kB / 0.5524 GB, free: 113.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.005868/0.6058, allocations: 4.471 MB / 0.5568 GB, free: 112 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.6058, allocations: 27.22 kB / 0.5568 GB, free: 112 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.29e-05/0.6058, allocations: 26.66 kB / 0.5569 GB, free: 112 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.6069, allocations: 0.5375 MB / 0.5574 GB, free: 111.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002259/0.6091, allocations: 0.6904 MB / 0.5581 GB, free: 111.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006418/0.6156, allocations: 10.33 MB / 0.5681 GB, free: 103.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001917/0.6175, allocations: 184 kB / 0.5683 GB, free: 103 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001734/0.6177, allocations: 132.2 kB / 0.5684 GB, free: 103 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.00185/0.6196, allocations: 1.518 MB / 0.5699 GB, free: 101.8 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000371/0.6199, allocations: 337.6 kB / 0.5703 GB, free: 101.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005306/0.6252, allocations: 3.899 MB / 0.5741 GB, free: 98 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.778e-05/0.6253, allocations: 11.95 kB / 0.5741 GB, free: 97.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-06/0.6253, allocations: 4.125 kB / 0.5741 GB, free: 97.98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008585/0.6261, allocations: 0.6686 MB / 0.5747 GB, free: 97.29 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003784/0.6265, allocations: 48.09 kB / 0.5748 GB, free: 97.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001378/0.6279, allocations: 139.8 kB / 0.5749 GB, free: 97.11 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002882/0.6282, allocations: 181.7 kB / 0.5751 GB, free: 96.93 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006229/0.6345, allocations: 3.67 MB / 0.5787 GB, free: 93.29 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005186/0.6397, allocations: 4.544 MB / 0.5831 GB, free: 88.72 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001453/0.6411, allocations: 1.291 MB / 0.5844 GB, free: 87.43 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002103/0.6432, allocations: 1.98 MB / 0.5863 GB, free: 85.46 MB / 462.1 MB Notification: Performance of Backend: time 2.1e-07/0.6432, allocations: 0 / 0.5863 GB, free: 85.46 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00441/0.6477, allocations: 3.175 MB / 0.5894 GB, free: 82.22 MB / 462.1 MB Notification: Performance of SimCode: time 0.01099/0.6587, allocations: 9.983 MB / 0.5991 GB, free: 72.23 MB / 462.1 MB Notification: Performance of Templates: time 0.0661/0.7248, allocations: 51.17 MB / 0.6491 GB, free: 21.59 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)