Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.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 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.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 108.7 kB / 17.75 MB, free: 5.223 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.001116/0.001116, allocations: 190.4 kB / 18.67 MB, free: 4.305 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.321/1.321, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009646/0.0009646, allocations: 51.92 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.23, allocations: 49.43 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter): time 0.01039/0.2404, allocations: 9.625 MB / 411.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005214/0.2457, allocations: 3.097 MB / 414.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00111/0.2468, allocations: 55.75 kB / 414.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001662/0.2485, allocations: 0.7064 MB / 414.9 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002036/0.2506, allocations: 0.796 MB / 415.7 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008458/0.2514, allocations: 399.4 kB / 416.1 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002622/0.2541, allocations: 2.544 MB / 418.6 MB, free: 7.582 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002909/0.257, allocations: 2.326 MB / 421 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00162/0.2586, allocations: 1.191 MB / 422.2 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002365/0.261, allocations: 1.495 MB / 423.7 MB, free: 2.496 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007498/0.2618, allocations: 320 kB / 424 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001196/0.263, allocations: 423.8 kB / 424.4 MB, free: 1.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001097/0.2641, allocations: 0.8884 MB / 425.3 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001671/0.2658, allocations: 1.423 MB / 426.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003752/0.2695, allocations: 4.143 MB / 430.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2696, allocations: 0 / 430.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2696, allocations: 4 kB / 430.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.609e-05/0.2696, allocations: 0 / 430.8 MB, free: 11.29 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: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.005336/0.275, allocations: 2.908 MB / 433.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.275, allocations: 8.031 kB / 433.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006675/0.2757, allocations: 289.7 kB / 434 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002557/0.2782, allocations: 1.538 MB / 435.6 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.2784, allocations: 168.3 kB / 435.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003011/0.2787, allocations: 208 kB / 435.9 MB, free: 6.055 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004507/0.2832, allocations: 2.799 MB / 438.7 MB, free: 3.168 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.236e-05/0.2833, allocations: 7.906 kB / 438.7 MB, free: 3.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002067/0.2835, allocations: 84 kB / 438.8 MB, free: 3.078 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001048/0.2836, allocations: 108.2 kB / 438.9 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003905/0.2875, allocations: 2.347 MB / 441.3 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01252/0.3, allocations: 8.499 MB / 449.8 MB, free: 7.859 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002352/0.3024, allocations: 1.702 MB / 451.5 MB, free: 6.031 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001718/0.3042, allocations: 0.9606 MB / 452.4 MB, free: 5.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002647/0.3044, allocations: 207.2 kB / 452.6 MB, free: 4.832 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.3045, allocations: 51.5 kB / 452.7 MB, free: 4.773 MB / 366.1 MB Notification: Performance of pre-optimization done (n=101): time 2.996e-06/0.3045, allocations: 0 / 452.7 MB, free: 4.773 MB / 366.1 MB Notification: Performance of matching and sorting (n=116): time 0.01283/0.3173, allocations: 6.226 MB / 458.9 MB, free: 14.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.3174, allocations: 60.41 kB / 459 MB, free: 14.31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/0.3193, allocations: 1.445 MB / 460.4 MB, free: 12.85 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.266e-05/0.3194, allocations: 49.7 kB / 460.5 MB, free: 12.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006978/0.3201, allocations: 1.041 MB / 461.5 MB, free: 11.74 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002959/0.3204, allocations: 406.1 kB / 461.9 MB, free: 11.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004012/0.3208, allocations: 255.4 kB / 462.2 MB, free: 11.08 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.3209, allocations: 353.9 kB / 462.5 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00112/0.3221, allocations: 0.691 MB / 463.2 MB, free: 10.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001363/0.3234, allocations: 1.077 MB / 464.3 MB, free: 8.805 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002598/0.326, allocations: 1.867 MB / 466.1 MB, free: 6.777 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/0.3261, allocations: 4 kB / 466.1 MB, free: 6.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003921/0.33, allocations: 2.417 MB / 468.6 MB, free: 4.316 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.33, allocations: 8 kB / 468.6 MB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/0.33, allocations: 12 kB / 468.6 MB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009683/0.331, allocations: 431.1 kB / 469 MB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/0.3323, allocations: 331.4 kB / 469.3 MB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006874/0.3391, allocations: 7.047 MB / 476.4 MB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/0.3402, allocations: 103.8 kB / 476.5 MB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/0.3404, allocations: 52 kB / 476.5 MB, free: 11.92 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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.001125/0.3415, allocations: 0.6924 MB / 477.2 MB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003082/0.3418, allocations: 158.1 kB / 477.4 MB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003965/0.3458, allocations: 2.126 MB / 479.5 MB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417e-05/0.3458, allocations: 7.984 kB / 479.5 MB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.3458, allocations: 0 / 479.5 MB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007537/0.3466, allocations: 383 kB / 479.9 MB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002744/0.3469, allocations: 27.98 kB / 479.9 MB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009511/0.3478, allocations: 83.89 kB / 480 MB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002085/0.3481, allocations: 96.78 kB / 480.1 MB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004535/0.3526, allocations: 2.128 MB / 482.2 MB, free: 6.133 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003969/0.3566, allocations: 2.639 MB / 484.9 MB, free: 3.48 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001112/0.3577, allocations: 0.73 MB / 485.6 MB, free: 2.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001512/0.3592, allocations: 0.9886 MB / 486.6 MB, free: 1.762 MB / 398.1 MB Notification: Performance of Backend: time 2.7e-07/0.3592, allocations: 0 / 486.6 MB, free: 1.762 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00354/0.3628, allocations: 1.759 MB / 488.3 MB, free: 15.93 MB / 414.1 MB Notification: Performance of SimCode: time 0.00765/0.3705, allocations: 4.722 MB / 493.1 MB, free: 11.16 MB / 414.1 MB Notification: Performance of Templates: time 0.04278/0.4133, allocations: 26.26 MB / 0.5071 GB, free: 1.137 MB / 430.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe 2>&1)