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.001524/0.001523, allocations: 112.1 kB / 16.51 MB, free: 6.707 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.001649/0.00165, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.226/1.226, allocations: 222.9 MB / 241.1 MB, free: 13.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1622/0.1622, allocations: 38.04 MB / 329.3 MB, free: 8.852 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001108/0.001108, allocations: 62.05 kB / 398.2 MB, free: 34.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08888/0.09001, allocations: 58.07 MB / 456.3 MB, free: 8.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_ctrl): time 0.01032/0.1004, allocations: 8.739 MB / 465 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008253/0.1087, allocations: 5.485 MB / 470.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001275/0.11, allocations: 55.69 kB / 470.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008338/0.1183, allocations: 4.795 MB / 475.3 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001743/0.1201, allocations: 0.6069 MB / 475.9 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.1213, allocations: 493.4 kB / 476.4 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003373/0.1246, allocations: 3.486 MB / 479.9 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00164/0.1263, allocations: 1.393 MB / 481.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008656/0.1272, allocations: 0.7238 MB / 482 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001039/0.1282, allocations: 0.9576 MB / 483 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001758/0.1284, allocations: 88 kB / 483.1 MB, free: 13.47 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007144/0.1291, allocations: 439.3 kB / 483.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004881/0.1296, allocations: 0.5337 MB / 484 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006721/0.1303, allocations: 0.727 MB / 484.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001733/0.1321, allocations: 2.267 MB / 487 MB, free: 9.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1321, allocations: 0 / 487 MB, free: 9.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.1321, allocations: 0 / 487 MB, free: 9.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.84e-05/0.1321, allocations: 0 / 487 MB, free: 9.5 MB / 366.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.003543/0.1357, allocations: 1.936 MB / 489 MB, free: 7.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.1357, allocations: 16.02 kB / 489 MB, free: 7.465 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002097/0.1359, allocations: 181.7 kB / 489.2 MB, free: 7.277 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003784/0.1363, allocations: 171.1 kB / 489.3 MB, free: 7.109 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001755/0.1381, allocations: 1.028 MB / 490.3 MB, free: 6.039 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000161/0.1382, allocations: 191.3 kB / 490.5 MB, free: 5.832 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001881/0.1384, allocations: 119.9 kB / 490.7 MB, free: 5.715 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003057/0.1415, allocations: 1.886 MB / 492.5 MB, free: 3.738 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.061e-05/0.1415, allocations: 4 kB / 492.5 MB, free: 3.734 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001244/0.1417, allocations: 47.98 kB / 492.6 MB, free: 3.688 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002202/0.1419, allocations: 93.94 kB / 492.7 MB, free: 3.594 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002601/0.1445, allocations: 1.468 MB / 494.1 MB, free: 2.129 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007379/0.1519, allocations: 6.063 MB / 0.4885 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002884/0.1548, allocations: 1.367 MB / 0.4898 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001318/0.1561, allocations: 0.695 MB / 0.4905 GB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.003e-05/0.1562, allocations: 14 kB / 0.4905 GB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001603/0.1578, allocations: 0.8927 MB / 0.4914 GB, free: 8.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 2.624e-06/0.1578, allocations: 0 / 0.4914 GB, free: 8.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=102): time 0.008322/0.1662, allocations: 4.445 MB / 0.4957 GB, free: 4.234 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.006e-05/0.1663, allocations: 153.5 kB / 0.4959 GB, free: 4.055 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009296/0.1672, allocations: 0.8333 MB / 0.4967 GB, free: 3.211 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.879e-05/0.1673, allocations: 61.69 kB / 0.4967 GB, free: 3.145 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004184/0.1677, allocations: 0.5421 MB / 0.4973 GB, free: 2.594 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002617/0.168, allocations: 355.1 kB / 0.4976 GB, free: 2.242 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003509/0.1684, allocations: 242.7 kB / 0.4978 GB, free: 2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1685, allocations: 353.9 kB / 0.4982 GB, free: 1.648 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009173/0.1694, allocations: 0.6346 MB / 0.4988 GB, free: 1.012 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1762/0.3457, allocations: 0.9424 MB / 0.4997 GB, free: 55.54 MB / 382.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.01136/0.3571, allocations: 3.462 MB / 0.5031 GB, free: 55.08 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-05/0.3571, allocations: 1.938 kB / 0.5031 GB, free: 55.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.007009/0.3641, allocations: 2.676 MB / 0.5057 GB, free: 54.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.386e-05/0.3642, allocations: 68.84 kB / 0.5058 GB, free: 54.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.208e-05/0.3643, allocations: 9.062 kB / 0.5058 GB, free: 54.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005217/0.3695, allocations: 1.377 MB / 0.5071 GB, free: 53.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006758/0.3702, allocations: 171.7 kB / 0.5073 GB, free: 53.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003142/0.3733, allocations: 2.365 MB / 0.5096 GB, free: 52.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009569/0.3743, allocations: 80.61 kB / 0.5097 GB, free: 52.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002301/0.3745, allocations: 89.41 kB / 0.5098 GB, free: 52.62 MB / 382.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.001553/0.3761, allocations: 0.9706 MB / 0.5107 GB, free: 52.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001161/0.3773, allocations: 0.9285 MB / 0.5116 GB, free: 51.6 MB / 382.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.01018/0.3875, allocations: 3.437 MB / 0.515 GB, free: 50.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.918e-05/0.3875, allocations: 2.906 kB / 0.515 GB, free: 50.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=162) (initialization_lambda0): time 0.006885/0.3944, allocations: 2.6 MB / 0.5175 GB, free: 49.26 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.078e-05/0.3945, allocations: 62.66 kB / 0.5176 GB, free: 49.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/0.3946, allocations: 9.344 kB / 0.5176 GB, free: 49.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004712/0.3993, allocations: 1.361 MB / 0.5189 GB, free: 48.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007544/0.4, allocations: 170.9 kB / 0.5191 GB, free: 48.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002809/0.4029, allocations: 2.333 MB / 0.5214 GB, free: 47.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009444/0.4038, allocations: 74.38 kB / 0.5214 GB, free: 47.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001633/0.404, allocations: 86.33 kB / 0.5215 GB, free: 47.32 MB / 382.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.0004317/0.4044, allocations: 280 kB / 0.5218 GB, free: 47.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002772/0.4047, allocations: 113.8 kB / 0.5219 GB, free: 47.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003428/0.4082, allocations: 1.797 MB / 0.5237 GB, free: 45.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.248e-05/0.4082, allocations: 18.5 kB / 0.5237 GB, free: 45.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/0.4082, allocations: 3.938 kB / 0.5237 GB, free: 45.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.4082, allocations: 11.61 kB / 0.5237 GB, free: 45.97 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005059/0.4133, allocations: 3.335 MB / 0.5269 GB, free: 43.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.4133, allocations: 4 kB / 0.5269 GB, free: 43.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008065/0.4141, allocations: 175.7 kB / 0.5271 GB, free: 43.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004056/0.4146, allocations: 151.3 kB / 0.5273 GB, free: 42.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.895e-05/0.4147, allocations: 35.36 kB / 0.5273 GB, free: 42.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002454/0.4171, allocations: 5.397 MB / 0.5326 GB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4171, allocations: 0 / 0.5326 GB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003963/0.4211, allocations: 2.666 MB / 0.5352 GB, free: 34.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004092/0.4215, allocations: 323.5 kB / 0.5355 GB, free: 33.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002206/0.4218, allocations: 91.95 kB / 0.5356 GB, free: 33.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007882/0.4226, allocations: 99.86 kB / 0.5357 GB, free: 33.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/0.4227, allocations: 68.89 kB / 0.5357 GB, free: 33.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.168e-05/0.4228, allocations: 41.19 kB / 0.5358 GB, free: 33.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005249/0.4233, allocations: 0.5693 MB / 0.5363 GB, free: 33 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4233, allocations: 4 kB / 0.5363 GB, free: 32.99 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001292/0.4246, allocations: 494.6 kB / 0.5368 GB, free: 32.51 MB / 382.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.004174/0.4288, allocations: 3.308 MB / 0.54 GB, free: 29.13 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004539/0.4334, allocations: 3.096 MB / 0.543 GB, free: 26.03 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.4334, allocations: 1.781 kB / 0.543 GB, free: 26.03 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00154/0.4349, allocations: 1.203 MB / 0.5442 GB, free: 24.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.436, allocations: 268.7 kB / 0.5445 GB, free: 24.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02022/0.4563, allocations: 14.39 MB / 0.5585 GB, free: 9.676 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006693/0.457, allocations: 1.28 MB / 0.5598 GB, free: 8.371 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009383/0.4579, allocations: 318.4 kB / 0.5601 GB, free: 8.066 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005339/0.4585, allocations: 455.3 kB / 0.5605 GB, free: 7.621 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4585, allocations: 0 / 0.5605 GB, free: 7.621 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05052/0.509, allocations: 33.01 MB / 0.5928 GB, free: 6.914 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002514/0.5093, allocations: 242.2 kB / 0.593 GB, free: 6.652 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.31/2.819, allocations: 0 / 0.593 GB, free: 6.652 MB / 414.1 MB (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","../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