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.001055/0.001055, allocations: 114.2 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.001089/0.001089, allocations: 210.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.297/1.297, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 67.89 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2029, allocations: 50.53 MB / 410 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter): time 0.02212/0.225, allocations: 22.38 MB / 432.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01122/0.2363, allocations: 6.655 MB / 439 MB, free: 4.434 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002814/0.2391, allocations: 143.4 kB / 439.1 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003444/0.2426, allocations: 1.498 MB / 440.6 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004579/0.2472, allocations: 2.034 MB / 442.7 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002511/0.2497, allocations: 1.336 MB / 444 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005772/0.2555, allocations: 6.588 MB / 450.6 MB, free: 8.785 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005599/0.2611, allocations: 5.588 MB / 456.2 MB, free: 3.117 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003138/0.2642, allocations: 3.014 MB / 459.2 MB, free: 96 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003876/0.2681, allocations: 3.69 MB / 462.9 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009633/0.2691, allocations: 0.8164 MB / 463.7 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001793/0.2709, allocations: 1.121 MB / 464.8 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001595/0.2725, allocations: 2.022 MB / 466.8 MB, free: 8.426 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003045/0.2756, allocations: 3.555 MB / 470.4 MB, free: 4.855 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008794/0.2844, allocations: 10.84 MB / 481.2 MB, free: 9.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2844, allocations: 0 / 481.2 MB, free: 9.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2844, allocations: 0 / 481.2 MB, free: 9.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.827e-05/0.2845, allocations: 4 kB / 481.2 MB, free: 9.977 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.01315/0.2977, allocations: 6.952 MB / 488.2 MB, free: 2.945 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.2977, allocations: 8.031 kB / 488.2 MB, free: 2.938 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0046/0.3023, allocations: 1.079 MB / 489.3 MB, free: 1.852 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005912/0.3082, allocations: 3.765 MB / 493 MB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002695/0.3085, allocations: 407.1 kB / 493.4 MB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007327/0.3093, allocations: 0.5271 MB / 494 MB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01037/0.3196, allocations: 7.059 MB / 0.4893 GB, free: 5.953 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000113/0.3198, allocations: 7.906 kB / 0.4893 GB, free: 5.945 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004805/0.3203, allocations: 220 kB / 0.4895 GB, free: 5.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002207/0.3205, allocations: 266.6 kB / 0.4898 GB, free: 5.469 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009362/0.3298, allocations: 5.944 MB / 0.4956 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02933/0.3592, allocations: 22.33 MB / 0.5174 GB, free: 8.578 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007882/0.3671, allocations: 8.546 MB / 0.5257 GB, free: 15.1 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003432/0.3705, allocations: 2.265 MB / 0.5279 GB, free: 12.82 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009783/0.3803, allocations: 6.451 MB / 0.5342 GB, free: 6.172 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/0.3804, allocations: 60.56 kB / 0.5343 GB, free: 6.102 MB / 462.1 MB Notification: Performance of pre-optimization done (n=220): time 3.487e-06/0.3804, allocations: 0 / 0.5343 GB, free: 6.102 MB / 462.1 MB Notification: Performance of matching and sorting (n=240): time 0.204/0.5844, allocations: 11.09 MB / 0.5451 GB, free: 118.4 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.5845, allocations: 77.09 kB / 0.5452 GB, free: 118.3 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003576/0.5881, allocations: 3.182 MB / 0.5483 GB, free: 117.1 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001308/0.5882, allocations: 65.61 kB / 0.5484 GB, free: 117.1 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001061/0.5893, allocations: 2.507 MB / 0.5508 GB, free: 115.1 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004069/0.5897, allocations: 0.8285 MB / 0.5516 GB, free: 114.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006812/0.5904, allocations: 0.5538 MB / 0.5522 GB, free: 114.2 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.412e-05/0.5904, allocations: 305.1 kB / 0.5524 GB, free: 113.9 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001719/0.5922, allocations: 1.334 MB / 0.5538 GB, free: 113.4 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002156/0.5943, allocations: 2.339 MB / 0.556 GB, free: 111.7 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004063/0.5984, allocations: 3.915 MB / 0.5599 GB, free: 109.1 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.258e-05/0.5984, allocations: 11.28 kB / 0.5599 GB, free: 109.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=406) (initialization): time 0.005996/0.6044, allocations: 4.73 MB / 0.5645 GB, free: 107 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.6045, allocations: 18.97 kB / 0.5645 GB, free: 107 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.593e-05/0.6045, allocations: 29.53 kB / 0.5645 GB, free: 107 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001042/0.6056, allocations: 0.5428 MB / 0.5651 GB, free: 106.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002397/0.608, allocations: 0.7448 MB / 0.5658 GB, free: 106.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006423/0.6144, allocations: 10.44 MB / 0.576 GB, free: 95.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002162/0.6166, allocations: 195.4 kB / 0.5762 GB, free: 95.63 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000178/0.6168, allocations: 140 kB / 0.5763 GB, free: 95.49 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.002056/0.6188, allocations: 1.586 MB / 0.5779 GB, free: 93.89 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004263/0.6193, allocations: 347.8 kB / 0.5782 GB, free: 93.55 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005492/0.6248, allocations: 4.07 MB / 0.5822 GB, free: 89.38 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-05/0.6248, allocations: 15.95 kB / 0.5822 GB, free: 89.37 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/0.6248, allocations: 0 / 0.5822 GB, free: 89.37 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/0.626, allocations: 0.6958 MB / 0.5829 GB, free: 88.65 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004033/0.6264, allocations: 48.12 kB / 0.5829 GB, free: 88.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001484/0.6279, allocations: 159.8 kB / 0.5831 GB, free: 88.45 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000286/0.6282, allocations: 185.1 kB / 0.5832 GB, free: 88.27 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006523/0.6347, allocations: 3.82 MB / 0.587 GB, free: 84.47 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005441/0.6402, allocations: 4.744 MB / 0.5916 GB, free: 79.7 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001539/0.6417, allocations: 1.348 MB / 0.5929 GB, free: 78.35 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00237/0.6441, allocations: 2.139 MB / 0.595 GB, free: 76.22 MB / 462.1 MB Notification: Performance of Backend: time 2.31e-07/0.6441, allocations: 0 / 0.595 GB, free: 76.22 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004677/0.6488, allocations: 3.298 MB / 0.5982 GB, free: 72.85 MB / 462.1 MB Notification: Performance of SimCode: time 0.01208/0.6609, allocations: 10.35 MB / 0.6083 GB, free: 62.49 MB / 462.1 MB Notification: Performance of Templates: time 0.07094/0.7319, allocations: 55.44 MB / 0.6625 GB, free: 7.594 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)