Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.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.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smpm.is.1.|smpm.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smpm.is.1.|smpm.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001578/0.001578, allocations: 118.3 kB / 18.46 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001833/0.001833, allocations: 206.7 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 59.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2474, allocations: 50.54 MB / 410 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter): time 0.0115/0.2589, allocations: 10.35 MB / 420.3 MB, free: 7.203 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006179/0.2651, allocations: 3.478 MB / 423.8 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001252/0.2664, allocations: 55.75 kB / 423.8 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001751/0.2682, allocations: 0.8347 MB / 424.7 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002105/0.2703, allocations: 0.8814 MB / 425.5 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008233/0.2711, allocations: 431.3 kB / 426 MB, free: 1.512 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00266/0.2738, allocations: 2.759 MB / 428.7 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002478/0.2763, allocations: 2.402 MB / 431.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001545/0.2778, allocations: 1.277 MB / 432.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0018/0.2796, allocations: 1.58 MB / 434 MB, free: 9.398 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004317/0.2801, allocations: 336 kB / 434.3 MB, free: 9.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007963/0.2809, allocations: 443.8 kB / 434.7 MB, free: 8.637 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008425/0.2817, allocations: 0.9388 MB / 435.7 MB, free: 7.695 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001498/0.2833, allocations: 1.509 MB / 437.2 MB, free: 6.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004246/0.2875, allocations: 4.406 MB / 441.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2875, allocations: 0 / 441.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.2875, allocations: 0 / 441.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.925e-05/0.2876, allocations: 0 / 441.6 MB, free: 1.758 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.005551/0.2932, allocations: 3.136 MB / 444.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.2932, allocations: 8.031 kB / 444.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007947/0.294, allocations: 331 kB / 445.1 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002647/0.2967, allocations: 1.642 MB / 446.7 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/0.2968, allocations: 172.3 kB / 446.9 MB, free: 12.35 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003127/0.2971, allocations: 220 kB / 447.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004675/0.3018, allocations: 2.921 MB / 450 MB, free: 9.129 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.796e-05/0.3019, allocations: 7.938 kB / 450 MB, free: 9.121 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001886/0.3021, allocations: 92 kB / 450.1 MB, free: 9.031 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001079/0.3022, allocations: 108.3 kB / 450.2 MB, free: 8.922 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004129/0.3063, allocations: 2.434 MB / 452.7 MB, free: 6.473 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01263/0.319, allocations: 9.034 MB / 461.7 MB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002295/0.3213, allocations: 1.716 MB / 463.4 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001681/0.323, allocations: 0.973 MB / 464.4 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003432/0.3234, allocations: 207.2 kB / 464.6 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.3234, allocations: 43.56 kB / 464.6 MB, free: 10.06 MB / 382.1 MB Notification: Performance of pre-optimization done (n=105): time 2.494e-06/0.3234, allocations: 0 / 464.6 MB, free: 10.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=122): time 0.01426/0.3377, allocations: 6.612 MB / 471.2 MB, free: 3.293 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.3377, allocations: 72.28 kB / 471.3 MB, free: 3.211 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002595/0.3403, allocations: 1.57 MB / 472.9 MB, free: 1.633 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.536e-05/0.3404, allocations: 41.7 kB / 472.9 MB, free: 1.586 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008153/0.3413, allocations: 1.142 MB / 474.1 MB, free: 440 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003666/0.3416, allocations: 452.2 kB / 474.5 MB, free: 15.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000514/0.3422, allocations: 275.5 kB / 474.8 MB, free: 15.7 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.02e-05/0.3423, allocations: 301.1 kB / 475.1 MB, free: 15.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001202/0.3435, allocations: 0.7105 MB / 475.8 MB, free: 14.7 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001514/0.345, allocations: 1.134 MB / 476.9 MB, free: 13.38 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002844/0.3478, allocations: 1.967 MB / 478.9 MB, free: 11.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.3479, allocations: 4 kB / 478.9 MB, free: 11.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004161/0.352, allocations: 2.535 MB / 481.4 MB, free: 8.652 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.3521, allocations: 15.94 kB / 481.4 MB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/0.3521, allocations: 12 kB / 481.4 MB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000975/0.3531, allocations: 418.8 kB / 481.8 MB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/0.3544, allocations: 359.4 kB / 482.2 MB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006978/0.3614, allocations: 7.124 MB / 489.3 MB, free: 328 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/0.3627, allocations: 107.8 kB / 489.4 MB, free: 220 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001457/0.3629, allocations: 60 kB / 489.5 MB, free: 160 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 3 systems {(3,12,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001216/0.3641, allocations: 0.7273 MB / 490.2 MB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003931/0.3645, allocations: 174.9 kB / 490.4 MB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003996/0.3685, allocations: 2.202 MB / 492.6 MB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-05/0.3685, allocations: 12.05 kB / 492.6 MB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3685, allocations: 0 / 492.6 MB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007603/0.3693, allocations: 411.7 kB / 493 MB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003006/0.3696, allocations: 27.98 kB / 493 MB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009794/0.3706, allocations: 87.89 kB / 493.1 MB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002386/0.3708, allocations: 97.16 kB / 493.2 MB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004645/0.3755, allocations: 2.194 MB / 495.4 MB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004179/0.3797, allocations: 2.728 MB / 498.1 MB, free: 7.402 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001164/0.3809, allocations: 0.7636 MB / 498.9 MB, free: 6.637 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001886/0.3828, allocations: 1.071 MB / 500 MB, free: 5.57 MB / 414.1 MB Notification: Performance of Backend: time 5.71e-07/0.3828, allocations: 0 / 500 MB, free: 5.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003964/0.3868, allocations: 1.822 MB / 0.49 GB, free: 3.68 MB / 414.1 MB Notification: Performance of SimCode: time 0.008462/0.3952, allocations: 5.084 MB / 0.495 GB, free: 14.54 MB / 430.1 MB Notification: Performance of Templates: time 0.04699/0.4423, allocations: 28.56 MB / 0.5229 GB, free: 2.223 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe 2>&1)