Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_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.001018/0.001018, allocations: 107.3 kB / 18.4 MB, free: 4.566 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.001087/0.001087, allocations: 187.3 kB / 19.33 MB, free: 3.648 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.323/1.323, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.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.001378/0.001378, allocations: 51.94 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07886/0.08025, allocations: 46.61 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.1672/0.2475, allocations: 9.579 MB / 385.4 MB, free: 8.137 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004796/0.2524, allocations: 3.161 MB / 388.6 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008818/0.2533, allocations: 49.28 kB / 388.6 MB, free: 6.352 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001407/0.2547, allocations: 0.6667 MB / 389.3 MB, free: 5.992 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001752/0.2565, allocations: 0.7703 MB / 390.1 MB, free: 5.496 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000757/0.2572, allocations: 388.6 kB / 390.4 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002303/0.2595, allocations: 2.565 MB / 393 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002164/0.2617, allocations: 2.289 MB / 395.3 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001444/0.2632, allocations: 1.182 MB / 396.5 MB, free: 2.438 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001609/0.2648, allocations: 1.494 MB / 398 MB, free: 1.738 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004368/0.2652, allocations: 318 kB / 398.3 MB, free: 1.738 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007665/0.266, allocations: 422.7 kB / 398.7 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007581/0.2668, allocations: 0.8958 MB / 399.6 MB, free: 1.219 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001177/0.268, allocations: 1.413 MB / 401 MB, free: 304 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003764/0.2717, allocations: 4.146 MB / 405.1 MB, free: 14.06 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2718, allocations: 0 / 405.1 MB, free: 14.06 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2718, allocations: 5.25 kB / 405.1 MB, free: 14.06 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.161e-05/0.2718, allocations: 0 / 405.1 MB, free: 14.06 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.005593/0.2774, allocations: 2.906 MB / 408.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.2775, allocations: 9.031 kB / 408.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007232/0.2782, allocations: 291.1 kB / 408.3 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002312/0.2805, allocations: 1.448 MB / 409.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/0.2807, allocations: 154.4 kB / 409.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003112/0.281, allocations: 220.7 kB / 410.2 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004503/0.2855, allocations: 2.796 MB / 413 MB, free: 9.016 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.438e-05/0.2856, allocations: 2.25 kB / 413 MB, free: 9.016 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002014/0.2858, allocations: 87.03 kB / 413 MB, free: 8.949 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001011/0.2859, allocations: 105.3 kB / 413.1 MB, free: 8.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003821/0.2897, allocations: 2.345 MB / 415.5 MB, free: 7.727 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01226/0.302, allocations: 8.5 MB / 424 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002293/0.3043, allocations: 1.707 MB / 425.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001615/0.3059, allocations: 0.9557 MB / 426.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002872/0.3062, allocations: 203.2 kB / 426.9 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.3063, allocations: 47.56 kB / 426.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=101): time 3.086e-06/0.3063, allocations: 0 / 426.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=116): time 0.01252/0.3188, allocations: 6.107 MB / 433 MB, free: 5.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.3189, allocations: 65.25 kB / 433.1 MB, free: 5.586 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001892/0.3208, allocations: 1.437 MB / 434.5 MB, free: 4.137 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.655e-05/0.3209, allocations: 49.64 kB / 434.6 MB, free: 4.082 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006655/0.3215, allocations: 1.037 MB / 435.6 MB, free: 3.031 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002978/0.3218, allocations: 406.1 kB / 436 MB, free: 2.629 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004015/0.3223, allocations: 263.3 kB / 436.2 MB, free: 2.363 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.3224, allocations: 361.9 kB / 436.6 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001098/0.3235, allocations: 0.6832 MB / 437.3 MB, free: 1.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001325/0.3248, allocations: 1.066 MB / 438.4 MB, free: 92 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002531/0.3274, allocations: 1.867 MB / 440.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.3274, allocations: 4 kB / 440.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003896/0.3313, allocations: 2.398 MB / 442.6 MB, free: 11.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.3313, allocations: 12.06 kB / 442.6 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.3314, allocations: 12 kB / 442.6 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009407/0.3323, allocations: 416.2 kB / 443.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.3335, allocations: 331.4 kB / 443.4 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006944/0.3405, allocations: 7.053 MB / 450.4 MB, free: 3.383 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/0.3419, allocations: 99.89 kB / 450.5 MB, free: 3.285 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001628/0.3421, allocations: 56 kB / 450.6 MB, free: 3.23 MB / 366.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.001312/0.3434, allocations: 0.6892 MB / 451.3 MB, free: 2.531 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003849/0.3438, allocations: 162 kB / 451.4 MB, free: 2.371 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003876/0.3477, allocations: 2.115 MB / 453.5 MB, free: 220 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.705e-05/0.3477, allocations: 7.969 kB / 453.5 MB, free: 212 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.3477, allocations: 0 / 453.5 MB, free: 212 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007959/0.3485, allocations: 383.2 kB / 453.9 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003768/0.3489, allocations: 32 kB / 454 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009871/0.3499, allocations: 83.89 kB / 454 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002348/0.3501, allocations: 96.78 kB / 454.1 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004507/0.3547, allocations: 2.132 MB / 456.3 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004046/0.3587, allocations: 2.62 MB / 458.9 MB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001139/0.3599, allocations: 0.7339 MB / 459.6 MB, free: 10.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001816/0.3617, allocations: 0.9886 MB / 460.6 MB, free: 9.086 MB / 382.1 MB Notification: Performance of Backend: time 4.41e-07/0.3617, allocations: 3.938 kB / 460.6 MB, free: 9.082 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003778/0.3655, allocations: 1.754 MB / 462.4 MB, free: 7.262 MB / 382.1 MB Notification: Performance of SimCode: time 0.008311/0.3738, allocations: 4.716 MB / 467.1 MB, free: 2.492 MB / 382.1 MB Notification: Performance of Templates: time 0.04682/0.4207, allocations: 26.74 MB / 493.8 MB, free: 7.703 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe 2>&1)