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.001282/0.001282, allocations: 105.9 kB / 17.06 MB, free: 6.113 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.001363/0.001363, allocations: 196.1 kB / 18 MB, free: 5.191 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.416/1.416, 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.1795/0.1795, allocations: 38.04 MB / 329.9 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 71.86 kB / 457.7 MB, free: 7.344 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3298, allocations: 58.06 MB / 0.5036 GB, free: 7.441 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_ctrl): time 0.009515/0.3394, allocations: 7.744 MB / 0.5112 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01008/0.3495, allocations: 4.987 MB / 0.5161 GB, free: 14.56 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001276/0.3508, allocations: 39.5 kB / 0.5161 GB, free: 14.54 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01181/0.3627, allocations: 4.892 MB / 0.5209 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002818/0.3656, allocations: 0.6604 MB / 0.5215 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001827/0.3675, allocations: 0.5255 MB / 0.522 GB, free: 12.44 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005771/0.3732, allocations: 2.806 MB / 0.5248 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003535/0.3768, allocations: 1.75 MB / 0.5265 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002087/0.379, allocations: 0.8694 MB / 0.5273 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002031/0.381, allocations: 0.9487 MB / 0.5283 GB, free: 9.668 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004964/0.3815, allocations: 179.2 kB / 0.5284 GB, free: 9.668 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001186/0.3827, allocations: 0.5019 MB / 0.5289 GB, free: 9.508 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008184/0.3836, allocations: 0.6126 MB / 0.5295 GB, free: 9.078 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001305/0.3849, allocations: 0.8161 MB / 0.5303 GB, free: 8.488 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00352/0.3884, allocations: 2.366 MB / 0.5326 GB, free: 6.766 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3884, allocations: 1.219 kB / 0.5326 GB, free: 6.766 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.3885, allocations: 0 / 0.5326 GB, free: 6.766 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.161e-05/0.3885, allocations: 0 / 0.5326 GB, free: 6.766 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.005473/0.394, allocations: 1.99 MB / 0.5346 GB, free: 5.273 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.3941, allocations: 13.08 kB / 0.5346 GB, free: 5.27 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000314/0.3944, allocations: 182.9 kB / 0.5348 GB, free: 5.125 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005998/0.395, allocations: 170.4 kB / 0.5349 GB, free: 5.039 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002469/0.3975, allocations: 1.07 MB / 0.536 GB, free: 4.227 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002262/0.3977, allocations: 202 kB / 0.5362 GB, free: 4.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002623/0.398, allocations: 122.3 kB / 0.5363 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004175/0.4022, allocations: 1.889 MB / 0.5381 GB, free: 2.812 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.495e-05/0.4023, allocations: 6.094 kB / 0.5381 GB, free: 2.809 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001552/0.4024, allocations: 46.73 kB / 0.5382 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002867/0.4027, allocations: 88.64 kB / 0.5383 GB, free: 2.754 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003486/0.4062, allocations: 1.483 MB / 0.5397 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01055/0.4168, allocations: 6.027 MB / 0.5456 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00363/0.4205, allocations: 1.366 MB / 0.5469 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001667/0.4222, allocations: 0.6926 MB / 0.5476 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.05e-05/0.4222, allocations: 14 kB / 0.5476 GB, free: 11.1 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001893/0.4242, allocations: 0.9005 MB / 0.5485 GB, free: 10.17 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 3.016e-06/0.4242, allocations: 0 / 0.5485 GB, free: 10.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=102): time 0.01047/0.4346, allocations: 4.478 MB / 0.5529 GB, free: 5.543 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/0.4348, allocations: 157.5 kB / 0.553 GB, free: 5.359 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/0.436, allocations: 0.8372 MB / 0.5538 GB, free: 4.516 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001579/0.4361, allocations: 61.69 kB / 0.5539 GB, free: 4.449 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005862/0.4367, allocations: 0.5591 MB / 0.5544 GB, free: 3.883 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004031/0.4371, allocations: 365 kB / 0.5548 GB, free: 3.523 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004605/0.4376, allocations: 242.8 kB / 0.555 GB, free: 3.281 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.4378, allocations: 361.9 kB / 0.5554 GB, free: 2.922 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001112/0.4389, allocations: 0.6306 MB / 0.556 GB, free: 2.289 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001363/0.4403, allocations: 0.9384 MB / 0.5569 GB, free: 1.219 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.01075/0.4511, allocations: 3.462 MB / 0.5603 GB, free: 13.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/0.4511, allocations: 3.938 kB / 0.5603 GB, free: 13.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.007334/0.4585, allocations: 2.69 MB / 0.5629 GB, free: 10.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.4586, allocations: 69.67 kB / 0.563 GB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.09e-05/0.4586, allocations: 8 kB / 0.563 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005614/0.4642, allocations: 1.379 MB / 0.5643 GB, free: 9.438 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00074/0.465, allocations: 163.7 kB / 0.5645 GB, free: 9.277 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003625/0.4687, allocations: 2.363 MB / 0.5668 GB, free: 6.879 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/0.4698, allocations: 87.89 kB / 0.5669 GB, free: 6.793 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001809/0.47, allocations: 87.92 kB / 0.567 GB, free: 6.707 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.001748/0.4717, allocations: 0.971 MB / 0.5679 GB, free: 5.734 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001299/0.4731, allocations: 0.9265 MB / 0.5688 GB, free: 4.684 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.01031/0.4834, allocations: 3.442 MB / 0.5722 GB, free: 1.102 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.496e-06/0.4834, allocations: 4 kB / 0.5722 GB, free: 1.098 MB / 430.1 MB Notification: Performance of matching and sorting (n=162) (initialization_lambda0): time 0.006854/0.4903, allocations: 2.596 MB / 0.5747 GB, free: 14.49 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.451e-05/0.4904, allocations: 73.67 kB / 0.5748 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-05/0.4904, allocations: 11.98 kB / 0.5748 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005331/0.4958, allocations: 1.37 MB / 0.5761 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007331/0.4965, allocations: 171.7 kB / 0.5763 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003355/0.4999, allocations: 2.311 MB / 0.5786 GB, free: 10.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.501, allocations: 79.95 kB / 0.5786 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001718/0.5012, allocations: 87.88 kB / 0.5787 GB, free: 10.34 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.0004724/0.5016, allocations: 285.4 kB / 0.579 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002531/0.5019, allocations: 115.3 kB / 0.5791 GB, free: 9.945 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00427/0.5062, allocations: 1.795 MB / 0.5808 GB, free: 8.086 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.88e-05/0.5062, allocations: 16 kB / 0.5809 GB, free: 8.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.38e-05/0.5063, allocations: 4 kB / 0.5809 GB, free: 8.066 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-05/0.5063, allocations: 7.969 kB / 0.5809 GB, free: 8.059 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006802/0.5131, allocations: 3.335 MB / 0.5841 GB, free: 4.605 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/0.5131, allocations: 8.031 kB / 0.5841 GB, free: 4.598 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009856/0.5141, allocations: 175.7 kB / 0.5843 GB, free: 4.426 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004964/0.5146, allocations: 147.2 kB / 0.5844 GB, free: 4.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001152/0.5148, allocations: 39.97 kB / 0.5845 GB, free: 4.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004889/0.5197, allocations: 5.799 MB / 0.5901 GB, free: 13.87 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.5197, allocations: 7.969 kB / 0.5902 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005835/0.5255, allocations: 2.668 MB / 0.5928 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007298/0.5263, allocations: 324.2 kB / 0.5931 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002885/0.5266, allocations: 99.94 kB / 0.5932 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009251/0.5275, allocations: 95.86 kB / 0.5933 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002189/0.5278, allocations: 76.89 kB / 0.5933 GB, free: 10.51 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.71e-05/0.5279, allocations: 43.91 kB / 0.5934 GB, free: 10.47 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008229/0.5287, allocations: 0.5693 MB / 0.5939 GB, free: 9.902 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5287, allocations: 0 / 0.5939 GB, free: 9.902 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001722/0.5304, allocations: 492 kB / 0.5944 GB, free: 9.422 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.006098/0.5365, allocations: 3.309 MB / 0.5976 GB, free: 6.027 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006351/0.5429, allocations: 3.109 MB / 0.6007 GB, free: 2.895 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.325e-06/0.543, allocations: 4.125 kB / 0.6007 GB, free: 2.891 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002366/0.5453, allocations: 1.199 MB / 0.6018 GB, free: 1.645 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/0.5468, allocations: 284.2 kB / 0.6021 GB, free: 1.375 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02717/0.574, allocations: 13.56 MB / 0.6154 GB, free: 3.418 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001085/0.5752, allocations: 1.28 MB / 0.6166 GB, free: 2.102 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001043/0.5762, allocations: 316.6 kB / 0.6169 GB, free: 1.789 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007378/0.577, allocations: 459.2 kB / 0.6173 GB, free: 1.34 MB / 478.1 MB Notification: Performance of SimCode: time 7.52e-07/0.577, allocations: 0 / 0.6173 GB, free: 1.34 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1068/0.6838, allocations: 34.9 MB / 0.6514 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.25/14.93, allocations: 15.94 kB / 0.6514 GB, free: 14.72 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