Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 106.6 kB / 17.74 MB, free: 5.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 194.9 kB / 18.68 MB, free: 4.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001061/0.001061, allocations: 47.94 kB / 352 MB, free: 3.207 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2417, allocations: 49.44 MB / 401.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter): time 0.01123/0.253, allocations: 10.32 MB / 411.7 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005903/0.2589, allocations: 3.423 MB / 415.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001508/0.2605, allocations: 63.69 kB / 415.2 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002134/0.2626, allocations: 0.8191 MB / 416 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002923/0.2656, allocations: 0.8737 MB / 416.9 MB, free: 9.293 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.2668, allocations: 419.4 kB / 417.3 MB, free: 8.883 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004031/0.2709, allocations: 2.755 MB / 420.1 MB, free: 6.113 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003506/0.2744, allocations: 2.406 MB / 422.5 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001742/0.2762, allocations: 1.261 MB / 423.8 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002478/0.2786, allocations: 1.576 MB / 425.3 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000743/0.2794, allocations: 340 kB / 425.7 MB, free: 468 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001265/0.2807, allocations: 439.8 kB / 426.1 MB, free: 28 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001347/0.282, allocations: 0.9311 MB / 427 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001695/0.2837, allocations: 1.509 MB / 428.5 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004475/0.2882, allocations: 4.402 MB / 432.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2883, allocations: 0 / 432.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.2883, allocations: 0 / 432.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.348e-05/0.2883, allocations: 0 / 432.9 MB, free: 9.16 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.006332/0.2947, allocations: 3.117 MB / 436 MB, free: 5.977 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/0.2947, allocations: 12.03 kB / 436.1 MB, free: 5.965 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007745/0.2955, allocations: 327 kB / 436.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002601/0.2981, allocations: 1.631 MB / 438 MB, free: 3.957 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001265/0.2983, allocations: 172.3 kB / 438.2 MB, free: 3.785 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003104/0.2986, allocations: 223.9 kB / 438.4 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004506/0.3031, allocations: 2.913 MB / 441.3 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.126e-05/0.3032, allocations: 11.98 kB / 441.3 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001942/0.3034, allocations: 91.98 kB / 441.4 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001068/0.3035, allocations: 108.3 kB / 441.5 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004095/0.3076, allocations: 2.441 MB / 444 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01298/0.3206, allocations: 9.038 MB / 453 MB, free: 4.582 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002302/0.3229, allocations: 1.708 MB / 454.7 MB, free: 2.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00169/0.3246, allocations: 0.9768 MB / 455.7 MB, free: 1.773 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002805/0.3249, allocations: 203.2 kB / 455.9 MB, free: 1.539 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.325, allocations: 51.55 kB / 455.9 MB, free: 1.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=105): time 3.446e-06/0.325, allocations: 0 / 455.9 MB, free: 1.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=122): time 0.01341/0.3384, allocations: 6.605 MB / 462.5 MB, free: 10.72 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.3385, allocations: 64.41 kB / 462.6 MB, free: 10.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002026/0.3405, allocations: 1.565 MB / 464.2 MB, free: 9.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.679e-05/0.3406, allocations: 45.7 kB / 464.2 MB, free: 9.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007137/0.3413, allocations: 1.134 MB / 465.3 MB, free: 7.871 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003072/0.3416, allocations: 452.2 kB / 465.8 MB, free: 7.426 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003946/0.342, allocations: 275.5 kB / 466.1 MB, free: 7.148 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.631e-05/0.3421, allocations: 301.1 kB / 466.3 MB, free: 6.852 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001102/0.3432, allocations: 0.7183 MB / 467.1 MB, free: 6.133 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001449/0.3447, allocations: 1.138 MB / 468.2 MB, free: 4.816 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002666/0.3474, allocations: 1.967 MB / 470.2 MB, free: 2.668 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.483e-06/0.3474, allocations: 7.938 kB / 470.2 MB, free: 2.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.003867/0.3513, allocations: 2.523 MB / 472.7 MB, free: 100 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.3513, allocations: 19.92 kB / 472.7 MB, free: 80 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.3513, allocations: 12 kB / 472.7 MB, free: 68 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009498/0.3523, allocations: 431.3 kB / 473.2 MB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/0.3535, allocations: 351.4 kB / 473.5 MB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006607/0.3601, allocations: 7.126 MB / 480.6 MB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/0.3614, allocations: 111.8 kB / 480.7 MB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.3615, allocations: 63.98 kB / 480.8 MB, free: 7.578 MB / 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.00108/0.3626, allocations: 0.7199 MB / 481.5 MB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002571/0.3628, allocations: 178.8 kB / 481.7 MB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003596/0.3664, allocations: 2.198 MB / 483.9 MB, free: 4.426 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.3665, allocations: 7.969 kB / 483.9 MB, free: 4.418 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.3665, allocations: 0 / 483.9 MB, free: 4.418 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006312/0.3671, allocations: 403.8 kB / 484.3 MB, free: 4.004 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002118/0.3673, allocations: 31.98 kB / 484.3 MB, free: 3.973 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008397/0.3682, allocations: 91.89 kB / 484.4 MB, free: 3.883 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001965/0.3684, allocations: 93.16 kB / 484.5 MB, free: 3.789 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004258/0.3727, allocations: 2.195 MB / 486.7 MB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003788/0.3765, allocations: 2.732 MB / 489.4 MB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001083/0.3776, allocations: 0.7636 MB / 490.2 MB, free: 14.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001458/0.379, allocations: 1.066 MB / 491.3 MB, free: 12.99 MB / 414.1 MB Notification: Performance of Backend: time 2.91e-07/0.379, allocations: 0 / 491.3 MB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003329/0.3824, allocations: 1.823 MB / 493.1 MB, free: 11.11 MB / 414.1 MB Notification: Performance of SimCode: time 0.006872/0.3893, allocations: 5.063 MB / 498.1 MB, free: 5.984 MB / 414.1 MB Notification: Performance of Templates: time 0.04663/0.4359, allocations: 28.42 MB / 0.5142 GB, free: 9.824 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe 2>&1)