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.001064/0.001064, allocations: 107.1 kB / 18.4 MB, free: 4.656 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.001102/0.001102, allocations: 188.5 kB / 19.34 MB, free: 3.734 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.258/1.258, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001121/0.001121, allocations: 59.92 kB / 329.2 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07192/0.07305, allocations: 46.62 MB / 375.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.1542/0.2273, allocations: 9.575 MB / 385.4 MB, free: 8.164 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004795/0.2322, allocations: 3.167 MB / 388.6 MB, free: 6.395 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009359/0.2331, allocations: 48.12 kB / 388.6 MB, free: 6.379 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001396/0.2345, allocations: 0.6995 MB / 389.3 MB, free: 5.996 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001694/0.2363, allocations: 0.8042 MB / 390.1 MB, free: 5.477 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007294/0.237, allocations: 392.2 kB / 390.5 MB, free: 5.238 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002032/0.239, allocations: 2.565 MB / 393.1 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002099/0.2411, allocations: 2.294 MB / 395.4 MB, free: 2.977 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001141/0.2423, allocations: 1.183 MB / 396.6 MB, free: 2.402 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001512/0.2438, allocations: 1.491 MB / 398 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004075/0.2442, allocations: 318 kB / 398.4 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007347/0.245, allocations: 424.2 kB / 398.8 MB, free: 1.676 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007899/0.2458, allocations: 0.895 MB / 399.7 MB, free: 1.188 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001144/0.2469, allocations: 1.416 MB / 401.1 MB, free: 268 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003573/0.2505, allocations: 4.148 MB / 405.2 MB, free: 14.03 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.2505, allocations: 0 / 405.2 MB, free: 14.03 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2505, allocations: 1.156 kB / 405.2 MB, free: 14.03 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.581e-05/0.2506, allocations: 4 kB / 405.2 MB, free: 14.02 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.005105/0.2557, allocations: 2.903 MB / 408.1 MB, free: 12.01 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.2557, allocations: 10.53 kB / 408.1 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006708/0.2564, allocations: 284.9 kB / 408.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002354/0.2588, allocations: 1.448 MB / 409.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/0.2589, allocations: 161.7 kB / 410 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003011/0.2592, allocations: 217.3 kB / 410.2 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004325/0.2636, allocations: 2.788 MB / 413 MB, free: 8.992 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.024e-05/0.2636, allocations: 10.58 kB / 413 MB, free: 8.984 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002032/0.2638, allocations: 89.83 kB / 413.1 MB, free: 8.914 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001047/0.2639, allocations: 106 kB / 413.2 MB, free: 8.895 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003815/0.2678, allocations: 2.342 MB / 415.6 MB, free: 7.688 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01185/0.2796, allocations: 8.499 MB / 424.1 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002245/0.2819, allocations: 1.696 MB / 425.8 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001651/0.2835, allocations: 0.9674 MB / 426.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002669/0.2838, allocations: 203.1 kB / 426.9 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.2839, allocations: 47.56 kB / 427 MB, free: 11.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=101): time 2.404e-06/0.2839, allocations: 0.9375 kB / 427 MB, free: 11.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=116): time 0.01211/0.296, allocations: 6.11 MB / 433.1 MB, free: 5.602 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.296, allocations: 64.41 kB / 433.2 MB, free: 5.527 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001738/0.2978, allocations: 1.437 MB / 434.6 MB, free: 4.078 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.672e-05/0.2979, allocations: 41.7 kB / 434.6 MB, free: 4.031 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006395/0.2985, allocations: 1.037 MB / 435.7 MB, free: 2.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002928/0.2988, allocations: 414.1 kB / 436.1 MB, free: 2.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003882/0.2992, allocations: 259.4 kB / 436.3 MB, free: 2.309 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.2994, allocations: 365.9 kB / 436.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/0.3004, allocations: 0.6793 MB / 437.4 MB, free: 1.266 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001294/0.3018, allocations: 1.074 MB / 438.4 MB, free: 28 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002493/0.3043, allocations: 1.863 MB / 440.3 MB, free: 14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.3043, allocations: 4 kB / 440.3 MB, free: 14 MB / 366.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003767/0.308, allocations: 2.394 MB / 442.7 MB, free: 11.56 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.3081, allocations: 8.25 kB / 442.7 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.3081, allocations: 16 kB / 442.7 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000902/0.309, allocations: 415.7 kB / 443.1 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/0.3102, allocations: 339.4 kB / 443.5 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006365/0.3166, allocations: 7.041 MB / 450.5 MB, free: 3.332 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.3176, allocations: 103.9 kB / 450.6 MB, free: 3.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.3177, allocations: 55.98 kB / 450.7 MB, free: 3.176 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.0009184/0.3186, allocations: 0.6855 MB / 451.3 MB, free: 2.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002413/0.3189, allocations: 162 kB / 451.5 MB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003499/0.3224, allocations: 2.122 MB / 453.6 MB, free: 160 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/0.3224, allocations: 3.984 kB / 453.6 MB, free: 156 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.3224, allocations: 4 kB / 453.6 MB, free: 152 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006724/0.3231, allocations: 383.1 kB / 454 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002206/0.3233, allocations: 27.98 kB / 454 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008471/0.3242, allocations: 87.89 kB / 454.1 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001847/0.3244, allocations: 100.8 kB / 454.2 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004178/0.3286, allocations: 2.12 MB / 456.3 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00364/0.3322, allocations: 2.616 MB / 459 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001041/0.3333, allocations: 0.7378 MB / 459.7 MB, free: 10.03 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001231/0.3345, allocations: 0.9886 MB / 460.7 MB, free: 9.039 MB / 382.1 MB Notification: Performance of Backend: time 5.31e-07/0.3345, allocations: 0 / 460.7 MB, free: 9.039 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003066/0.3376, allocations: 1.758 MB / 462.4 MB, free: 7.215 MB / 382.1 MB Notification: Performance of SimCode: time 0.006184/0.3438, allocations: 4.723 MB / 467.2 MB, free: 2.438 MB / 382.1 MB Notification: Performance of Templates: time 0.03802/0.3818, allocations: 26.21 MB / 493.4 MB, free: 8.18 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)