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.001529/0.001529, allocations: 106.9 kB / 16.92 MB, free: 6.199 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.001844/0.001844, allocations: 191.4 kB / 17.85 MB, free: 5.301 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.368/1.368, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1746/0.1746, allocations: 38.04 MB / 329.7 MB, free: 8.828 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 65.16 kB / 398.9 MB, free: 33.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09018/0.09138, allocations: 58.07 MB / 457 MB, free: 7.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_ctrl): time 0.008872/0.1003, allocations: 7.743 MB / 464.7 MB, free: 180 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007048/0.1074, allocations: 4.99 MB / 469.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006802/0.1081, allocations: 35.81 kB / 469.7 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008746/0.1168, allocations: 4.902 MB / 474.6 MB, free: 6.219 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001738/0.1186, allocations: 0.6571 MB / 475.3 MB, free: 5.559 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.1198, allocations: 0.5295 MB / 475.8 MB, free: 5.031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002989/0.1228, allocations: 2.792 MB / 478.6 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001756/0.1245, allocations: 1.758 MB / 480.4 MB, free: 460 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000969/0.1255, allocations: 0.8606 MB / 481.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001041/0.1266, allocations: 0.9498 MB / 482.2 MB, free: 14.63 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002448/0.1268, allocations: 180 kB / 482.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007774/0.1276, allocations: 0.5268 MB / 482.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000528/0.1282, allocations: 0.6274 MB / 483.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007193/0.1289, allocations: 0.8013 MB / 484.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00201/0.1309, allocations: 2.329 MB / 486.6 MB, free: 10.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.1309, allocations: 3.984 kB / 486.7 MB, free: 10.16 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1309, allocations: 0 / 486.7 MB, free: 10.16 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.543e-05/0.131, allocations: 0 / 486.7 MB, free: 10.16 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.003734/0.1347, allocations: 1.956 MB / 488.6 MB, free: 8.117 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.74e-05/0.1348, allocations: 19.89 kB / 488.6 MB, free: 8.098 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002393/0.135, allocations: 181.7 kB / 488.8 MB, free: 7.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004183/0.1354, allocations: 159.2 kB / 489 MB, free: 7.754 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001825/0.1373, allocations: 1.031 MB / 490 MB, free: 6.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001929/0.1375, allocations: 203.3 kB / 490.2 MB, free: 6.461 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001994/0.1377, allocations: 112 kB / 490.3 MB, free: 6.352 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003058/0.1408, allocations: 1.878 MB / 492.2 MB, free: 4.383 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.7e-05/0.1408, allocations: 7.984 kB / 492.2 MB, free: 4.375 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001352/0.1409, allocations: 51.98 kB / 492.2 MB, free: 4.324 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002373/0.1412, allocations: 93.88 kB / 492.3 MB, free: 4.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002705/0.1439, allocations: 1.472 MB / 493.8 MB, free: 2.758 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007739/0.1517, allocations: 6.064 MB / 499.9 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003149/0.1548, allocations: 1.363 MB / 0.4895 GB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001467/0.1563, allocations: 0.6887 MB / 0.4902 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.434e-05/0.1564, allocations: 9.859 kB / 0.4902 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001797/0.1582, allocations: 0.9025 MB / 0.491 GB, free: 9.473 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 3.316e-06/0.1583, allocations: 0 / 0.491 GB, free: 9.473 MB / 382.1 MB Notification: Performance of matching and sorting (n=102): time 0.008876/0.1671, allocations: 4.445 MB / 0.4954 GB, free: 4.867 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.509e-05/0.1673, allocations: 149.5 kB / 0.4955 GB, free: 4.691 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.1683, allocations: 0.8449 MB / 0.4964 GB, free: 3.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001119/0.1684, allocations: 57.69 kB / 0.4964 GB, free: 3.777 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004524/0.1689, allocations: 0.5423 MB / 0.4969 GB, free: 3.227 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002883/0.1692, allocations: 347.2 kB / 0.4973 GB, free: 2.883 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003601/0.1695, allocations: 246.7 kB / 0.4975 GB, free: 2.637 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1697, allocations: 353.9 kB / 0.4978 GB, free: 2.285 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009649/0.1706, allocations: 0.6423 MB / 0.4985 GB, free: 1.641 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001216/0.1719, allocations: 0.9345 MB / 0.4994 GB, free: 0.5781 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.1769/0.3488, allocations: 3.468 MB / 0.5028 GB, free: 55.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.276e-06/0.3488, allocations: 5.781 kB / 0.5028 GB, free: 55.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.00646/0.3553, allocations: 2.674 MB / 0.5054 GB, free: 54.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.573e-05/0.3554, allocations: 68.48 kB / 0.5054 GB, free: 54.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/0.3554, allocations: 8.719 kB / 0.5055 GB, free: 54.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005156/0.3606, allocations: 1.382 MB / 0.5068 GB, free: 54.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006818/0.3613, allocations: 168.4 kB / 0.507 GB, free: 54.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003097/0.3644, allocations: 2.364 MB / 0.5093 GB, free: 53.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009389/0.3654, allocations: 79.44 kB / 0.5094 GB, free: 53.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001776/0.3656, allocations: 96.31 kB / 0.5094 GB, free: 53.16 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.001463/0.367, allocations: 0.9705 MB / 0.5104 GB, free: 52.72 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001001/0.368, allocations: 0.9254 MB / 0.5113 GB, free: 52.12 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.0092/0.3773, allocations: 3.446 MB / 0.5147 GB, free: 50.69 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.017e-05/0.3773, allocations: 2.875 kB / 0.5147 GB, free: 50.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=162) (initialization_lambda0): time 0.005739/0.383, allocations: 2.601 MB / 0.5172 GB, free: 49.78 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.445e-05/0.3831, allocations: 64.27 kB / 0.5173 GB, free: 49.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.3831, allocations: 11.03 kB / 0.5173 GB, free: 49.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004626/0.3877, allocations: 1.371 MB / 0.5186 GB, free: 49.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006514/0.3884, allocations: 173.6 kB / 0.5188 GB, free: 49.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002444/0.3909, allocations: 2.316 MB / 0.521 GB, free: 47.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008307/0.3917, allocations: 80.28 kB / 0.5211 GB, free: 47.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.3918, allocations: 84.59 kB / 0.5212 GB, free: 47.8 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.0003837/0.3922, allocations: 278.8 kB / 0.5215 GB, free: 47.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001968/0.3924, allocations: 114.7 kB / 0.5216 GB, free: 47.56 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003456/0.3959, allocations: 1.797 MB / 0.5233 GB, free: 46.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.639e-05/0.3959, allocations: 16.47 kB / 0.5233 GB, free: 46.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.3959, allocations: 3.688 kB / 0.5233 GB, free: 46.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.396, allocations: 4.922 kB / 0.5234 GB, free: 46.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004824/0.4008, allocations: 3.35 MB / 0.5266 GB, free: 43.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.4008, allocations: 0 / 0.5266 GB, free: 43.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008317/0.4017, allocations: 180.6 kB / 0.5268 GB, free: 43.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004164/0.4021, allocations: 151.3 kB / 0.5269 GB, free: 43.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-05/0.4022, allocations: 31.97 kB / 0.527 GB, free: 43.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002683/0.4049, allocations: 5.811 MB / 0.5326 GB, free: 36.81 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.4049, allocations: 0.625 kB / 0.5326 GB, free: 36.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004264/0.4091, allocations: 2.665 MB / 0.5352 GB, free: 34.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000425/0.4096, allocations: 315.6 kB / 0.5355 GB, free: 33.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002027/0.4098, allocations: 99.94 kB / 0.5356 GB, free: 33.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008539/0.4107, allocations: 96.05 kB / 0.5357 GB, free: 33.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001806/0.4108, allocations: 72.89 kB / 0.5358 GB, free: 33.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.128e-05/0.4109, allocations: 47.91 kB / 0.5359 GB, free: 33.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005383/0.4115, allocations: 0.5655 MB / 0.5364 GB, free: 32.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4115, allocations: 3.938 kB / 0.5364 GB, free: 32.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001319/0.4128, allocations: 488 kB / 0.5369 GB, free: 32.41 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.004451/0.4173, allocations: 3.316 MB / 0.5401 GB, free: 29.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005809/0.4231, allocations: 3.585 MB / 0.5436 GB, free: 25.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.4231, allocations: 4.25 kB / 0.5436 GB, free: 25.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001717/0.4248, allocations: 1.201 MB / 0.5448 GB, free: 24.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.4261, allocations: 282 kB / 0.5451 GB, free: 23.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01944/0.4455, allocations: 13.94 MB / 0.5587 GB, free: 9.527 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005556/0.4461, allocations: 1.278 MB / 0.5599 GB, free: 8.223 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000918/0.447, allocations: 323.1 kB / 0.5602 GB, free: 7.906 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004992/0.4475, allocations: 455.3 kB / 0.5607 GB, free: 7.461 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4475, allocations: 0 / 0.5607 GB, free: 7.461 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06256/0.5101, allocations: 34.36 MB / 0.5942 GB, free: 5.395 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/12.05, allocations: 3.375 kB / 0.5942 GB, free: 5.395 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","/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