Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_ctrl.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) 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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Drives.ASM_ctrl,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASM_ctrl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Drives.ASM_ctrl,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASM_ctrl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 110.2 kB / 17.06 MB, free: 5.828 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.001535/0.001535, allocations: 198.9 kB / 18 MB, free: 4.949 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.344/1.344, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1831/0.1831, allocations: 38.04 MB / 329.9 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 71.83 kB / 457.7 MB, free: 7.359 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.3848, allocations: 58.05 MB / 0.5036 GB, free: 7.469 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_ctrl): time 0.008503/0.3934, allocations: 7.75 MB / 0.5112 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008741/0.4022, allocations: 4.987 MB / 0.5161 GB, free: 14.58 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00148/0.4037, allocations: 35.47 kB / 0.5161 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01383/0.4176, allocations: 4.893 MB / 0.5209 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003196/0.4209, allocations: 0.6565 MB / 0.5215 GB, free: 12.76 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001854/0.4228, allocations: 0.528 MB / 0.522 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005479/0.4282, allocations: 2.806 MB / 0.5248 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003521/0.4318, allocations: 1.75 MB / 0.5265 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001963/0.4338, allocations: 0.8891 MB / 0.5273 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002319/0.4361, allocations: 0.9563 MB / 0.5283 GB, free: 9.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006617/0.4368, allocations: 179.4 kB / 0.5284 GB, free: 9.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001721/0.4385, allocations: 0.4983 MB / 0.5289 GB, free: 9.531 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00116/0.4397, allocations: 0.6229 MB / 0.5295 GB, free: 9.094 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00114/0.4408, allocations: 0.8076 MB / 0.5303 GB, free: 8.512 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00264/0.4435, allocations: 2.367 MB / 0.5326 GB, free: 6.789 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4435, allocations: 0 / 0.5326 GB, free: 6.789 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.4435, allocations: 1.094 kB / 0.5326 GB, free: 6.789 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.602e-05/0.4435, allocations: 0 / 0.5326 GB, free: 6.789 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 302 * Number of variables: 302 Notification: Performance of Generate backend data structure: time 0.004328/0.4479, allocations: 1.947 MB / 0.5345 GB, free: 5.344 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.4479, allocations: 14.27 kB / 0.5346 GB, free: 5.34 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002509/0.4482, allocations: 182.6 kB / 0.5347 GB, free: 5.195 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005059/0.4487, allocations: 161.5 kB / 0.5349 GB, free: 5.117 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002261/0.451, allocations: 1.072 MB / 0.5359 GB, free: 4.301 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000192/0.4512, allocations: 194.5 kB / 0.5361 GB, free: 4.152 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002252/0.4514, allocations: 118.6 kB / 0.5362 GB, free: 4.113 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003447/0.4548, allocations: 1.882 MB / 0.5381 GB, free: 2.902 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.84e-05/0.4549, allocations: 10.19 kB / 0.5381 GB, free: 2.895 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001344/0.455, allocations: 51.22 kB / 0.5381 GB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002484/0.4553, allocations: 95.83 kB / 0.5382 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002901/0.4582, allocations: 1.476 MB / 0.5397 GB, free: 2.078 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009088/0.4673, allocations: 6.013 MB / 0.5455 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003274/0.4706, allocations: 1.366 MB / 0.5469 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001555/0.4722, allocations: 0.6887 MB / 0.5475 GB, free: 11.19 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.874e-05/0.4723, allocations: 17.86 kB / 0.5476 GB, free: 11.17 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001764/0.474, allocations: 0.8966 MB / 0.5484 GB, free: 10.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 3.146e-06/0.474, allocations: 0 / 0.5484 GB, free: 10.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=102): time 0.01001/0.4841, allocations: 4.442 MB / 0.5528 GB, free: 5.652 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/0.4842, allocations: 157.5 kB / 0.5529 GB, free: 5.469 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/0.4854, allocations: 0.8371 MB / 0.5537 GB, free: 4.625 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001022/0.4855, allocations: 61.62 kB / 0.5538 GB, free: 4.559 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005167/0.486, allocations: 0.5461 MB / 0.5543 GB, free: 4.004 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003429/0.4864, allocations: 351.2 kB / 0.5547 GB, free: 3.656 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004176/0.4868, allocations: 234.8 kB / 0.5549 GB, free: 3.422 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.487, allocations: 353.9 kB / 0.5552 GB, free: 3.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/0.488, allocations: 0.6423 MB / 0.5559 GB, free: 2.426 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001221/0.4893, allocations: 0.9384 MB / 0.5568 GB, free: 1.355 MB / 414.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.01003/0.4993, allocations: 3.469 MB / 0.5602 GB, free: 13.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.4993, allocations: 4 kB / 0.5602 GB, free: 13.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.00692/0.5062, allocations: 2.681 MB / 0.5628 GB, free: 11.04 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.037e-05/0.5063, allocations: 65.67 kB / 0.5628 GB, free: 10.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.286e-05/0.5064, allocations: 8 kB / 0.5629 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005307/0.5117, allocations: 1.375 MB / 0.5642 GB, free: 9.582 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006727/0.5124, allocations: 171.7 kB / 0.5644 GB, free: 9.414 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003475/0.5159, allocations: 2.351 MB / 0.5667 GB, free: 7.027 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/0.517, allocations: 91.89 kB / 0.5667 GB, free: 6.938 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002274/0.5173, allocations: 83.88 kB / 0.5668 GB, free: 6.855 MB / 430.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.asm_ctrl.rotor.w = 0.0. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001733/0.519, allocations: 0.9749 MB / 0.5678 GB, free: 5.879 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001186/0.5202, allocations: 0.9265 MB / 0.5687 GB, free: 4.828 MB / 430.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0105/0.5307, allocations: 3.442 MB / 0.572 GB, free: 1.246 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.044e-05/0.5308, allocations: 0 / 0.572 GB, free: 1.246 MB / 430.1 MB Notification: Performance of matching and sorting (n=162) (initialization_lambda0): time 0.006517/0.5373, allocations: 2.599 MB / 0.5746 GB, free: 14.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.442e-05/0.5374, allocations: 70.03 kB / 0.5746 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/0.5374, allocations: 12 kB / 0.5747 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005246/0.5427, allocations: 1.362 MB / 0.576 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007487/0.5435, allocations: 171.7 kB / 0.5762 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003635/0.5471, allocations: 2.318 MB / 0.5784 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/0.5486, allocations: 72 kB / 0.5785 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002859/0.5489, allocations: 87.94 kB / 0.5786 GB, free: 10.5 MB / 446.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: $DER.asm_ctrl.rotor.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 29 (system.initime,$PRE.asm_ctrl.inverter.modulator.gates[1],$PRE.asm_ctrl.inverter.modulator.gates[2],$PRE.asm_ctrl.inverter.modulator.gates[3],$PRE.asm_ctrl.inverter.modulator.gates[4],$PRE.asm_ctrl.inverter.modulator.gates[5],$PRE.asm_ctrl.inverter.modulator.gates[6],$PRE.asm_ctrl.inverter.modulator.t0[3],$PRE.asm_ctrl.inverter.modulator.t0[2],$PRE.asm_ctrl.inverter.modulator.t0[1],$PRE.asm_ctrl.inverter.modulator.sigdel_t[3],$PRE.asm_ctrl.inverter.modulator.sigdel_t[2],$PRE.asm_ctrl.inverter.modulator.sigdel_t[1],asm_ctrl.inverter.modulator.t0[3],asm_ctrl.inverter.modulator.t0[2],asm_ctrl.inverter.modulator.t0[1],asm_ctrl.inverter.modulator.sigdel_t[3],asm_ctrl.inverter.modulator.sigdel_t[2],asm_ctrl.inverter.modulator.sigdel_t[1],asm_ctrl.inverter.modulator.gates[6],asm_ctrl.inverter.modulator.gates[5],asm_ctrl.inverter.modulator.gates[4],asm_ctrl.inverter.modulator.gates[3],asm_ctrl.inverter.modulator.gates[2],asm_ctrl.inverter.modulator.gates[1],$whenCondition1,$whenCondition2,$whenCondition3,PI_i_q.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,41)} Notification: Performance of prepare postOptimizeDAE: time 0.0007081/0.5496, allocations: 285.4 kB / 0.5788 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005394/0.5501, allocations: 110.6 kB / 0.5789 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00436/0.5545, allocations: 1.795 MB / 0.5807 GB, free: 8.246 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-05/0.5546, allocations: 20 kB / 0.5807 GB, free: 8.227 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.562e-05/0.5546, allocations: 4 kB / 0.5807 GB, free: 8.223 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.5546, allocations: 3.984 kB / 0.5807 GB, free: 8.219 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007482/0.5621, allocations: 3.331 MB / 0.584 GB, free: 4.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.297e-05/0.5621, allocations: 4 kB / 0.584 GB, free: 4.766 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/0.5632, allocations: 183.7 kB / 0.5842 GB, free: 4.586 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005112/0.5637, allocations: 143.3 kB / 0.5843 GB, free: 4.434 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000121/0.5638, allocations: 35.97 kB / 0.5843 GB, free: 4.398 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005551/0.5694, allocations: 5.811 MB / 0.59 GB, free: 14.02 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-06/0.5694, allocations: 7.969 kB / 0.59 GB, free: 14.02 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005864/0.5753, allocations: 2.652 MB / 0.5926 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008679/0.5761, allocations: 319.5 kB / 0.5929 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000393/0.5766, allocations: 95.94 kB / 0.593 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/0.5776, allocations: 100 kB / 0.5931 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001997/0.5778, allocations: 72.91 kB / 0.5932 GB, free: 10.69 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001/0.578, allocations: 47.92 kB / 0.5932 GB, free: 10.64 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009896/0.579, allocations: 0.5731 MB / 0.5938 GB, free: 10.07 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.579, allocations: 0 / 0.5938 GB, free: 10.07 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002238/0.5812, allocations: 500 kB / 0.5942 GB, free: 9.586 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 9 (asm_ctrl.motor.i[3],asm_ctrl.motor.psi_s[1],asm_ctrl.motor.psi_s[2],asm_ctrl.motor.psi_rd[1],asm_ctrl.motor.psi_rq[1],asm_ctrl.motor.phiRotorflux,loadInertia.w,frictTorq.phi,PI_i_q.I.y) * Number of discrete variables: 16 ($whenCondition3,$whenCondition2,$whenCondition1,asm_ctrl.inverter.modulator.gates[1],asm_ctrl.inverter.modulator.gates[2],asm_ctrl.inverter.modulator.gates[3],asm_ctrl.inverter.modulator.gates[4],asm_ctrl.inverter.modulator.gates[5],asm_ctrl.inverter.modulator.gates[6],asm_ctrl.inverter.modulator.sigdel_t[1],asm_ctrl.inverter.modulator.sigdel_t[2],asm_ctrl.inverter.modulator.sigdel_t[3],asm_ctrl.inverter.modulator.t0[1],asm_ctrl.inverter.modulator.t0[2],asm_ctrl.inverter.modulator.t0[3],system.initime) * Number of discrete states: 12 (asm_ctrl.inverter.modulator.t0[3],asm_ctrl.inverter.modulator.sigdel_t[3],asm_ctrl.inverter.modulator.gates[5],asm_ctrl.inverter.modulator.gates[6],asm_ctrl.inverter.modulator.t0[2],asm_ctrl.inverter.modulator.sigdel_t[2],asm_ctrl.inverter.modulator.gates[3],asm_ctrl.inverter.modulator.gates[4],asm_ctrl.inverter.modulator.t0[1],asm_ctrl.inverter.modulator.sigdel_t[1],asm_ctrl.inverter.modulator.gates[1],asm_ctrl.inverter.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 83 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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 {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,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.005885/0.5871, allocations: 3.297 MB / 0.5975 GB, free: 6.203 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006121/0.5932, allocations: 3.113 MB / 0.6005 GB, free: 3.066 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.5933, allocations: 0.5 kB / 0.6005 GB, free: 3.066 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002323/0.5956, allocations: 1.203 MB / 0.6017 GB, free: 1.816 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0018/0.5974, allocations: 284.3 kB / 0.6019 GB, free: 1.551 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02746/0.6249, allocations: 13.52 MB / 0.6152 GB, free: 3.641 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001321/0.6263, allocations: 1.277 MB / 0.6164 GB, free: 2.328 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001127/0.6274, allocations: 316.6 kB / 0.6167 GB, free: 2.016 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007418/0.6282, allocations: 455.3 kB / 0.6171 GB, free: 1.57 MB / 478.1 MB Notification: Performance of SimCode: time 8.32e-07/0.6282, allocations: 0 / 0.6171 GB, free: 1.57 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09808/0.7263, allocations: 35.66 MB / 0.652 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.71/14.44, allocations: 10.44 kB / 0.652 GB, free: 14.2 MB / 0.5137 GB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_ctrl.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_ctrl.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_ctrl.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_ctrl.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_ctrl_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASM_ctrl_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-05 PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASM_ctrl.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_ctrl.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_ctrl_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Drives.ASM_ctrl.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_ctrl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:Time,asm_ctrl.motor.i_meas[1],asm_ctrl.motor.i_meas[2],asm_ctrl.motor.slip,asm_ctrl.motor.tau_el,asm_ctrl.motor.w_el Variables in the result:PI_i_q.Dzero.k,PI_i_q.Dzero.y,PI_i_q.FFzero.k,PI_i_q.FFzero.y,PI_i_q.I.initType,PI_i_q.I.k,PI_i_q.I.u,PI_i_q.I.use_reset,PI_i_q.I.use_set,PI_i_q.I.y,PI_i_q.I.y_start,PI_i_q.Nd,PI_i_q.Ni,PI_i_q.P.k,PI_i_q.P.u,PI_i_q.P.y,PI_i_q.Td,PI_i_q.Ti,PI_i_q.addFF.k1,PI_i_q.addFF.k2,PI_i_q.addFF.u1,PI_i_q.addFF.u2,PI_i_q.addFF.y,PI_i_q.addI.k1,PI_i_q.addI.k2,PI_i_q.addI.k3,PI_i_q.addI.u1,PI_i_q.addI.u2,PI_i_q.addI.u3,PI_i_q.addI.y,PI_i_q.addP.k1,PI_i_q.addP.k2,PI_i_q.addP.u1,PI_i_q.addP.u2,PI_i_q.addP.y,PI_i_q.addPID.k1,PI_i_q.addPID.k2,PI_i_q.addPID.k3,PI_i_q.addPID.u1,PI_i_q.addPID.u2,PI_i_q.addPID.u3,PI_i_q.addPID.y,PI_i_q.addSat.k1,PI_i_q.addSat.k2,PI_i_q.addSat.u1,PI_i_q.addSat.u2,PI_i_q.addSat.y,PI_i_q.controlError,PI_i_q.controllerType,PI_i_q.gainPID.k,PI_i_q.gainPID.u,PI_i_q.gainPID.y,PI_i_q.gainTrack.k,PI_i_q.gainTrack.u,PI_i_q.gainTrack.y,PI_i_q.homotopyType,PI_i_q.initType,PI_i_q.k,PI_i_q.kFF,PI_i_q.limiter.homotopyType,PI_i_q.limiter.strict,PI_i_q.limiter.u,PI_i_q.limiter.uMax,PI_i_q.limiter.uMin,PI_i_q.limiter.y,PI_i_q.strict,PI_i_q.u_m,PI_i_q.u_s,PI_i_q.wd,PI_i_q.withFeedForward,PI_i_q.wp,PI_i_q.xd_start,PI_i_q.xi_start,PI_i_q.y,PI_i_q.yMax,PI_i_q.yMin,PI_i_q.y_start,asm_ctrl.flange.phi,asm_ctrl.flange.tau,asm_ctrl.gear.flange_a.phi,asm_ctrl.gear.flange_a.tau,asm_ctrl.gear.flange_b.phi,asm_ctrl.gear.flange_b.tau,asm_ctrl.heat.m,asm_ctrl.heat.ports[1].Q_flow,asm_ctrl.heat.ports[1].T,asm_ctrl.heat.ports[2].Q_flow,asm_ctrl.heat.ports[2].T,asm_ctrl.heat.ports[3].Q_flow,asm_ctrl.heat.ports[3].T,asm_ctrl.heat.ports[4].Q_flow,asm_ctrl.heat.ports[4].T,asm_ctrl.heat.ports[5].Q_flow,asm_ctrl.heat.ports[5].T,asm_ctrl.i_act[1],asm_ctrl.i_act[2],asm_ctrl.i_meas[1],asm_ctrl.i_meas[2],asm_ctrl.inverter.AC.i[1],asm_ctrl.inverter.AC.i[2],asm_ctrl.inverter.AC.i[3],asm_ctrl.inverter.AC.theta[1],asm_ctrl.inverter.AC.theta[2],asm_ctrl.inverter.AC.v[1],asm_ctrl.inverter.AC.v[2],asm_ctrl.inverter.AC.v[3],asm_ctrl.inverter.DC.i[1],asm_ctrl.inverter.DC.i[2],asm_ctrl.inverter.DC.v[1],asm_ctrl.inverter.DC.v[2],asm_ctrl.inverter.heat.m,asm_ctrl.inverter.heat.ports[1].Q_flow,asm_ctrl.inverter.heat.ports[1].T,asm_ctrl.inverter.heat.ports[2].Q_flow,asm_ctrl.inverter.heat.ports[2].T,asm_ctrl.inverter.heat.ports[3].Q_flow,asm_ctrl.inverter.heat.ports[3].T,asm_ctrl.inverter.inverter.AC.i[1],asm_ctrl.inverter.inverter.AC.i[2],asm_ctrl.inverter.inverter.AC.i[3],asm_ctrl.inverter.inverter.AC.theta[1],asm_ctrl.inverter.inverter.AC.theta[2],asm_ctrl.inverter.inverter.AC.v[1],asm_ctrl.inverter.inverter.AC.v[2],asm_ctrl.inverter.inverter.AC.v[3],asm_ctrl.inverter.inverter.DC.i[1],asm_ctrl.inverter.inverter.DC.i[2],asm_ctrl.inverter.inverter.DC.v[1],asm_ctrl.inverter.inverter.DC.v[2],asm_ctrl.inverter.inverter.gates[1],asm_ctrl.inverter.inverter.gates[2],asm_ctrl.inverter.inverter.gates[3],asm_ctrl.inverter.inverter.gates[4],asm_ctrl.inverter.inverter.gates[5],asm_ctrl.inverter.inverter.gates[6],asm_ctrl.inverter.inverter.heat.m,asm_ctrl.inverter.inverter.heat.ports[1].Q_flow,asm_ctrl.inverter.inverter.heat.ports[1].T,asm_ctrl.inverter.inverter.heat.ports[2].Q_flow,asm_ctrl.inverter.inverter.heat.ports[2].T,asm_ctrl.inverter.inverter.heat.ports[3].Q_flow,asm_ctrl.inverter.inverter.heat.ports[3].T,asm_ctrl.inverter.modulator.dt_min,asm_ctrl.inverter.modulator.f_carr,asm_ctrl.inverter.modulator.gates[1],asm_ctrl.inverter.modulator.gates[2],asm_ctrl.inverter.modulator.gates[3],asm_ctrl.inverter.modulator.gates[4],asm_ctrl.inverter.modulator.gates[5],asm_ctrl.inverter.modulator.gates[6],asm_ctrl.inverter.modulator.m,asm_ctrl.inverter.modulator.theta,asm_ctrl.inverter.modulator.vPhasor[1],asm_ctrl.inverter.modulator.vPhasor[2],asm_ctrl.inverter.theta,asm_ctrl.inverter.vPhasor[1],asm_ctrl.inverter.vPhasor[2],asm_ctrl.motor.airgap.phi,asm_ctrl.motor.airgap.tau,asm_ctrl.motor.dynType,asm_ctrl.motor.heat.m,asm_ctrl.motor.heat.ports[1].Q_flow,asm_ctrl.motor.heat.ports[1].T,asm_ctrl.motor.heat.ports[2].Q_flow,asm_ctrl.motor.heat.ports[2].T,asm_ctrl.motor.i[1],asm_ctrl.motor.i[2],asm_ctrl.motor.i[3],asm_ctrl.motor.i_act[1],asm_ctrl.motor.i_act[2],asm_ctrl.motor.i_d_start[1],asm_ctrl.motor.i_meas[1],asm_ctrl.motor.i_meas[2],asm_ctrl.motor.i_n[1],asm_ctrl.motor.i_q_start[1],asm_ctrl.motor.i_start[1],asm_ctrl.motor.i_start[2],asm_ctrl.motor.i_start[3],asm_ctrl.motor.par.S_nom,asm_ctrl.motor.par.V_nom,asm_ctrl.motor.par.f_nom,asm_ctrl.motor.par.n_r,asm_ctrl.motor.par.neu_iso,asm_ctrl.motor.par.pp,asm_ctrl.motor.par.puUnits,asm_ctrl.motor.par.r_n,asm_ctrl.motor.par.r_r[1],asm_ctrl.motor.par.r_s,asm_ctrl.motor.par.tc[1],asm_ctrl.motor.par.to[1],asm_ctrl.motor.par.transDat,asm_ctrl.motor.par.use_xtr,asm_ctrl.motor.par.x,asm_ctrl.motor.par.x_0,asm_ctrl.motor.par.xsig_r[1],asm_ctrl.motor.par.xsig_s,asm_ctrl.motor.par.xtr[1],asm_ctrl.motor.phiRotorflux,asm_ctrl.motor.phi_el,asm_ctrl.motor.phi_el_start,asm_ctrl.motor.pp,asm_ctrl.motor.psi_rd[1],asm_ctrl.motor.psi_rq[1],asm_ctrl.motor.psi_s[1],asm_ctrl.motor.psi_s[2],asm_ctrl.motor.slip,asm_ctrl.motor.tau_el,asm_ctrl.motor.term.i[1],asm_ctrl.motor.term.i[2],asm_ctrl.motor.term.i[3],asm_ctrl.motor.term.theta[1],asm_ctrl.motor.term.theta[2],asm_ctrl.motor.term.v[1],asm_ctrl.motor.term.v[2],asm_ctrl.motor.term.v[3],asm_ctrl.motor.top.i_cond[1],asm_ctrl.motor.top.i_cond[2],asm_ctrl.motor.top.i_cond[3],asm_ctrl.motor.top.i_n[1],asm_ctrl.motor.top.i_term[1],asm_ctrl.motor.top.i_term[2],asm_ctrl.motor.top.i_term[3],asm_ctrl.motor.top.n_n,asm_ctrl.motor.top.v_cond[1],asm_ctrl.motor.top.v_cond[2],asm_ctrl.motor.top.v_cond[3],asm_ctrl.motor.top.v_n[1],asm_ctrl.motor.top.v_term[1],asm_ctrl.motor.top.v_term[2],asm_ctrl.motor.top.v_term[3],asm_ctrl.motor.top.w,asm_ctrl.motor.vPhasor[1],asm_ctrl.motor.vPhasor[2],asm_ctrl.motor.v[1],asm_ctrl.motor.v[2],asm_ctrl.motor.v[3],asm_ctrl.motor.v_n[1],asm_ctrl.motor.w_el,asm_ctrl.rotor.J,asm_ctrl.rotor.a,asm_ctrl.rotor.dynType,asm_ctrl.rotor.flange_a.phi,asm_ctrl.rotor.flange_a.tau,asm_ctrl.rotor.flange_b.phi,asm_ctrl.rotor.flange_b.tau,asm_ctrl.rotor.friction.phi,asm_ctrl.rotor.friction.tau,asm_ctrl.rotor.phi,asm_ctrl.rotor.rotor.phi,asm_ctrl.rotor.rotor.tau,asm_ctrl.rotor.stator.phi,asm_ctrl.rotor.stator.tau,asm_ctrl.rotor.w,asm_ctrl.rotor.w_start,asm_ctrl.term.i[1],asm_ctrl.term.i[2],asm_ctrl.term.v[1],asm_ctrl.term.v[2],asm_ctrl.w_start,bdCond.T_amb,bdCond.heat.m,bdCond.heat.ports[1].Q_flow,bdCond.heat.ports[1].T,bdCond.heat.ports[2].Q_flow,bdCond.heat.ports[2].T,bdCond.heat.ports[3].Q_flow,bdCond.heat.ports[3].T,bdCond.heat.ports[4].Q_flow,bdCond.heat.ports[4].T,bdCond.heat.ports[5].Q_flow,bdCond.heat.ports[5].T,bdCond.m,der(PI_i_q.I.y),der(asm_ctrl.motor.i[3]),der(asm_ctrl.motor.phiRotorflux),der(asm_ctrl.motor.phi_el),der(asm_ctrl.motor.psi_rd[1]),der(asm_ctrl.motor.psi_rq[1]),der(asm_ctrl.motor.psi_s[1]),der(asm_ctrl.motor.psi_s[2]),der(asm_ctrl.rotor.w),der(frictTorq.phi),der(loadInertia.w),frictTorq.cFrict[1],frictTorq.cFrict[2],frictTorq.flange.phi,frictTorq.flange.tau,frictTorq.phi,frictTorq.w,grd.term.i,grd.term.v,i_d.s_end,i_d.s_start,i_d.t_change,i_d.t_duration,i_d.y,i_q.s_end,i_q.s_start,i_q.t_change,i_q.t_duration,i_q.y,loadInertia.J,loadInertia.a,loadInertia.dynType,loadInertia.flange_a.phi,loadInertia.flange_a.tau,loadInertia.flange_b.phi,loadInertia.flange_b.tau,loadInertia.phi,loadInertia.w,loadInertia.w_start,system.alpha0,system.dynType,system.f,system.fType,system.f_lim[1],system.f_lim[2],system.f_nom,system.initime,system.omega,system.omega_nom,system.receiveFreq.H,system.receiveFreq.h,system.receiveFreq.w_H,system.receiveFreq.w_h,system.refType,system.synRef,system.theta,system.thetaRef,system.thetaRel,system.w_nom,time,torqueStep.flange.phi,torqueStep.flange.tau,torqueStep.offsetTorque,torqueStep.phi,torqueStep.startTime,torqueStep.stepTorque,torqueStep.tau,torqueStep.useSupport,voltage.S_nom,voltage.V_nom,voltage.neutral.i,voltage.neutral.v,voltage.pol,voltage.puUnits,voltage.term.i[1],voltage.term.i[2],voltage.term.v[1],voltage.term.v[2],voltage.use_vDC_in,voltage.v0