Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SynchronousInductionMachines.SMR_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007419/0.007419, allocations: 101.5 kB / 15.73 MB, free: 6.012 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.001368/0.001368, allocations: 196.7 kB / 16.67 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.84/1.84, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 53.36 kB / 326.6 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1116, allocations: 46.63 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.01281/0.1245, allocations: 9.563 MB / 382.8 MB, free: 7.691 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00776/0.1323, allocations: 3.167 MB / 385.9 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00219/0.1345, allocations: 47.75 kB / 386 MB, free: 4.465 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002282/0.1369, allocations: 0.6753 MB / 386.6 MB, free: 3.785 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003525/0.1404, allocations: 0.7531 MB / 387.4 MB, free: 3.027 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.1417, allocations: 407.4 kB / 387.8 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003928/0.1456, allocations: 2.561 MB / 390.4 MB, free: 60 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003085/0.1487, allocations: 2.282 MB / 392.6 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002232/0.151, allocations: 1.18 MB / 393.8 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002966/0.154, allocations: 1.498 MB / 395.3 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006626/0.1546, allocations: 320 kB / 395.6 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/0.1558, allocations: 419.8 kB / 396 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009725/0.1567, allocations: 0.9 MB / 396.9 MB, free: 9.398 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00198/0.1587, allocations: 1.416 MB / 398.4 MB, free: 7.977 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00565/0.1644, allocations: 4.155 MB / 402.5 MB, free: 3.809 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.024e-05/0.1645, allocations: 0 / 402.5 MB, free: 3.809 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.706e-06/0.1645, allocations: 0 / 402.5 MB, free: 3.809 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001973/0.1647, allocations: 0 / 402.5 MB, free: 3.809 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.008729/0.1734, allocations: 2.9 MB / 405.4 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.1735, allocations: 15.89 kB / 405.4 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008556/0.1744, allocations: 289.7 kB / 405.7 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003347/0.1777, allocations: 1.437 MB / 407.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001567/0.1779, allocations: 168.3 kB / 407.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004518/0.1784, allocations: 207.9 kB / 407.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005933/0.1843, allocations: 2.799 MB / 410.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.944e-05/0.1844, allocations: 4 kB / 410.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002054/0.1846, allocations: 83.98 kB / 410.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001271/0.1848, allocations: 112.2 kB / 410.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004517/0.1893, allocations: 2.347 MB / 412.9 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01789/0.2072, allocations: 8.491 MB / 421.3 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003691/0.211, allocations: 1.715 MB / 423.1 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002147/0.2132, allocations: 0.9518 MB / 424 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003624/0.2136, allocations: 203.2 kB / 424.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.321e-05/0.2136, allocations: 47.5 kB / 424.3 MB, free: 13.4 MB / 366.1 MB Notification: Performance of pre-optimization done (n=101): time 3.667e-06/0.2137, allocations: 0 / 424.3 MB, free: 13.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=116): time 0.01591/0.2296, allocations: 6.106 MB / 430.4 MB, free: 7.152 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.693e-05/0.2297, allocations: 64.41 kB / 430.4 MB, free: 7.078 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002577/0.2323, allocations: 1.437 MB / 431.9 MB, free: 5.629 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001292/0.2324, allocations: 45.7 kB / 431.9 MB, free: 5.578 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000906/0.2333, allocations: 1.049 MB / 433 MB, free: 4.516 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000395/0.2337, allocations: 406.1 kB / 433.3 MB, free: 4.113 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004596/0.2342, allocations: 259.3 kB / 433.6 MB, free: 3.852 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.2344, allocations: 357.9 kB / 434 MB, free: 3.496 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001257/0.2356, allocations: 0.6871 MB / 434.6 MB, free: 2.809 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001533/0.2372, allocations: 1.07 MB / 435.7 MB, free: 1.574 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002878/0.2401, allocations: 1.86 MB / 437.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/0.2401, allocations: 8 kB / 437.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004369/0.2445, allocations: 2.398 MB / 440 MB, free: 13.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.998e-05/0.2445, allocations: 8 kB / 440 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.339e-05/0.2445, allocations: 12 kB / 440 MB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/0.2456, allocations: 427.3 kB / 440.4 MB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.2468, allocations: 327.5 kB / 440.7 MB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007498/0.2543, allocations: 7.033 MB / 447.8 MB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/0.256, allocations: 99.89 kB / 447.9 MB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/0.2561, allocations: 56 kB / 447.9 MB, free: 4.73 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (157): * Single equations (assignments): 153 * 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,11,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.001448/0.2576, allocations: 0.6934 MB / 448.6 MB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004149/0.258, allocations: 166 kB / 448.8 MB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003785/0.2618, allocations: 2.111 MB / 450.9 MB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/0.2618, allocations: 12 kB / 450.9 MB, free: 1.699 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.898e-06/0.2619, allocations: 7.938 kB / 450.9 MB, free: 1.691 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.557e-05/0.2619, allocations: 7.969 kB / 450.9 MB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2944/0.5562, allocations: 4.549 MB / 455.5 MB, free: 68.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/0.5563, allocations: 7.812 kB / 455.5 MB, free: 68.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009668/0.5573, allocations: 212 kB / 455.7 MB, free: 68.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001301/0.5586, allocations: 456.5 kB / 456.1 MB, free: 68.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/0.5587, allocations: 32.08 kB / 456.2 MB, free: 68.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008492/0.5672, allocations: 8.613 MB / 464.8 MB, free: 62.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.929e-06/0.5673, allocations: 8.234 kB / 464.8 MB, free: 62.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005892/0.5732, allocations: 3.111 MB / 467.9 MB, free: 61.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001154/0.5744, allocations: 380.4 kB / 468.3 MB, free: 60.85 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002434/0.5746, allocations: 35.95 kB / 468.3 MB, free: 60.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.5757, allocations: 85.08 kB / 468.4 MB, free: 60.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003137/0.576, allocations: 95.19 kB / 468.5 MB, free: 60.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.607e-05/0.5761, allocations: 38.05 kB / 468.5 MB, free: 60.78 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001546/0.5776, allocations: 0.9911 MB / 469.5 MB, free: 60.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.5776, allocations: 0 / 469.5 MB, free: 60.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002413/0.5801, allocations: 458 kB / 469.9 MB, free: 60.36 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004784/0.5806, allocations: 197.6 kB / 470.1 MB, free: 60.24 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004113/0.5847, allocations: 2.226 MB / 472.4 MB, free: 59.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/0.5847, allocations: 0 / 472.4 MB, free: 59.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002255/0.587, allocations: 1.44 MB / 473.8 MB, free: 58.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002531/0.5895, allocations: 426 kB / 474.2 MB, free: 58.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007615/0.5972, allocations: 4.452 MB / 478.7 MB, free: 56.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001491/0.5987, allocations: 1.805 MB / 480.5 MB, free: 55.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001354/0.6001, allocations: 369.9 kB / 480.8 MB, free: 54.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003614/0.6005, allocations: 110.9 kB / 480.9 MB, free: 54.95 MB / 382.1 MB Notification: Performance of SimCode: time 2.515e-06/0.6005, allocations: 0 / 480.9 MB, free: 54.95 MB / 382.1 MB Notification: Performance of Templates: time 0.05603/0.6565, allocations: 25.22 MB / 0.4943 GB, free: 29.87 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe 2>&1)