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.0009001/0.0009002, allocations: 95.23 kB / 16.65 MB, free: 6.535 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.001082/0.001082, allocations: 175.4 kB / 17.56 MB, free: 6.18 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.233/1.233, allocations: 223.3 MB / 241.6 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1695/0.1695, allocations: 38.1 MB / 330.8 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002861/0.0002862, allocations: 8.594 kB / 400.8 MB, free: 34.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1042, allocations: 59.16 MB / 460 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_ctrl): time 0.008401/0.1126, allocations: 8.282 MB / 468.3 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008116/0.1208, allocations: 5.388 MB / 473.6 MB, free: 9.238 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001111/0.1219, allocations: 51.69 kB / 473.7 MB, free: 9.188 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007882/0.1298, allocations: 4.66 MB / 478.4 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001655/0.1315, allocations: 0.6069 MB / 479 MB, free: 3.914 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.1325, allocations: 487.4 kB / 479.4 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003436/0.136, allocations: 3.486 MB / 482.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001761/0.1378, allocations: 1.491 MB / 484.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008589/0.1386, allocations: 0.6691 MB / 485.1 MB, free: 13.72 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001015/0.1397, allocations: 0.8834 MB / 486 MB, free: 12.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001333/0.1398, allocations: 64 kB / 486 MB, free: 12.77 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006451/0.1404, allocations: 419.3 kB / 486.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004405/0.1409, allocations: 0.4908 MB / 486.9 MB, free: 11.87 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005963/0.1415, allocations: 0.7014 MB / 487.6 MB, free: 11.16 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001732/0.1432, allocations: 2.192 MB / 489.8 MB, free: 8.961 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1433, allocations: 0 / 489.8 MB, free: 8.961 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1433, allocations: 0 / 489.8 MB, free: 8.961 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.258e-05/0.1433, allocations: 0 / 489.8 MB, free: 8.961 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.003269/0.1466, allocations: 1.656 MB / 491.5 MB, free: 7.223 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.1466, allocations: 12.03 kB / 491.5 MB, free: 7.211 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000237/0.1469, allocations: 177.7 kB / 491.7 MB, free: 7.027 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003752/0.1472, allocations: 167.1 kB / 491.8 MB, free: 6.863 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001746/0.149, allocations: 1.043 MB / 492.9 MB, free: 5.773 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001676/0.1492, allocations: 195.3 kB / 493.1 MB, free: 5.562 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002067/0.1494, allocations: 123.8 kB / 493.2 MB, free: 5.441 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003123/0.1525, allocations: 1.913 MB / 495.1 MB, free: 3.438 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.648e-05/0.1526, allocations: 7.938 kB / 495.1 MB, free: 3.43 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/0.1527, allocations: 47.98 kB / 495.2 MB, free: 3.383 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000219/0.1529, allocations: 89.94 kB / 495.2 MB, free: 3.297 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00272/0.1557, allocations: 1.518 MB / 496.8 MB, free: 1.777 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007401/0.1631, allocations: 6.075 MB / 0.491 GB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003223/0.1663, allocations: 1.453 MB / 0.4925 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001561/0.1679, allocations: 0.716 MB / 0.4932 GB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.383e-05/0.168, allocations: 13.94 kB / 0.4932 GB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001734/0.1697, allocations: 0.9356 MB / 0.4941 GB, free: 8.324 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 2.395e-06/0.1697, allocations: 0 / 0.4941 GB, free: 8.324 MB / 382.1 MB Notification: Performance of matching and sorting (n=102): time 0.009326/0.1791, allocations: 4.598 MB / 0.4986 GB, free: 3.566 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.1792, allocations: 153.5 kB / 0.4987 GB, free: 3.387 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.1803, allocations: 0.8333 MB / 0.4995 GB, free: 2.543 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001008/0.1804, allocations: 61.62 kB / 0.4996 GB, free: 2.477 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004883/0.1809, allocations: 0.55 MB / 0.5001 GB, free: 1.918 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003177/0.1812, allocations: 355 kB / 0.5005 GB, free: 1.566 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001737/0.1814, allocations: 113.6 kB / 0.5006 GB, free: 1.449 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.1815, allocations: 357.9 kB / 0.5009 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/0.1826, allocations: 0.6311 MB / 0.5015 GB, free: 472 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1864/0.3689, allocations: 0.9391 MB / 0.5025 GB, free: 55.86 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.01096/0.3799, allocations: 3.517 MB / 0.5059 GB, free: 55.4 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.647e-05/0.38, allocations: 2.281 kB / 0.5059 GB, free: 55.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.006952/0.3869, allocations: 2.731 MB / 0.5086 GB, free: 54.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.00024/0.3872, allocations: 410.3 kB / 0.509 GB, free: 54.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.146e-05/0.3872, allocations: 12.94 kB / 0.509 GB, free: 54.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005335/0.3926, allocations: 1.411 MB / 0.5103 GB, free: 53.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007252/0.3933, allocations: 169.1 kB / 0.5105 GB, free: 53.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003394/0.3967, allocations: 2.372 MB / 0.5128 GB, free: 52.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009625/0.3977, allocations: 95.36 kB / 0.5129 GB, free: 52.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/0.3979, allocations: 87.38 kB / 0.513 GB, free: 52.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.3979, allocations: 5.438 kB / 0.513 GB, free: 52.7 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006143/0.404, allocations: 2.75 MB / 0.5157 GB, free: 51.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.19e-05/0.4041, allocations: 11.66 kB / 0.5157 GB, free: 51.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004807/0.4089, allocations: 1.383 MB / 0.5171 GB, free: 51.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000613/0.4095, allocations: 170.1 kB / 0.5172 GB, free: 51.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002421/0.4119, allocations: 2.326 MB / 0.5195 GB, free: 50.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000845/0.4128, allocations: 83.88 kB / 0.5196 GB, free: 50.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001274/0.4129, allocations: 85.36 kB / 0.5196 GB, free: 50.09 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 sytem: $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.0008167/0.4138, allocations: 0.5309 MB / 0.5202 GB, free: 49.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001762/0.414, allocations: 115.3 kB / 0.5203 GB, free: 49.74 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003326/0.4173, allocations: 1.862 MB / 0.5221 GB, free: 48.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.019e-05/0.4173, allocations: 15.59 kB / 0.5221 GB, free: 48.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.4173, allocations: 6.688 kB / 0.5221 GB, free: 48.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.4174, allocations: 3.984 kB / 0.5221 GB, free: 48.63 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004757/0.4221, allocations: 3.413 MB / 0.5255 GB, free: 46.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.4221, allocations: 0 / 0.5255 GB, free: 46.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008365/0.423, allocations: 178.1 kB / 0.5256 GB, free: 46.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004003/0.4234, allocations: 153.6 kB / 0.5258 GB, free: 46.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-05/0.4235, allocations: 29.38 kB / 0.5258 GB, free: 46.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002435/0.4259, allocations: 5.404 MB / 0.5311 GB, free: 40.35 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4259, allocations: 3.938 kB / 0.5311 GB, free: 40.35 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004312/0.4303, allocations: 2.761 MB / 0.5338 GB, free: 37.56 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004137/0.4307, allocations: 315.6 kB / 0.5341 GB, free: 37.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001917/0.4309, allocations: 91.95 kB / 0.5342 GB, free: 37.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008599/0.4317, allocations: 119.9 kB / 0.5343 GB, free: 37.03 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001619/0.4319, allocations: 72.92 kB / 0.5343 GB, free: 36.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.022e-05/0.432, allocations: 43.97 kB / 0.5344 GB, free: 36.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000554/0.4326, allocations: 0.5693 MB / 0.5349 GB, free: 36.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4326, allocations: 0 / 0.5349 GB, free: 36.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001339/0.4339, allocations: 494.6 kB / 0.5354 GB, free: 35.86 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.004504/0.4384, allocations: 3.404 MB / 0.5387 GB, free: 32.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004685/0.4431, allocations: 3.126 MB / 0.5418 GB, free: 29.24 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4431, allocations: 0 / 0.5418 GB, free: 29.24 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001652/0.4448, allocations: 1.24 MB / 0.543 GB, free: 27.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/0.4461, allocations: 267.6 kB / 0.5433 GB, free: 27.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02058/0.4666, allocations: 14.69 MB / 0.5576 GB, free: 12.51 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005655/0.4673, allocations: 1.28 MB / 0.5589 GB, free: 11.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008989/0.4682, allocations: 312.6 kB / 0.5592 GB, free: 10.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005146/0.4687, allocations: 455.3 kB / 0.5596 GB, free: 10.45 MB / 382.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4687, allocations: 3.391 kB / 0.5596 GB, free: 10.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04745/0.5161, allocations: 32.56 MB / 0.5914 GB, free: 10.22 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002085/0.5164, allocations: 242.4 kB / 0.5916 GB, free: 9.957 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.46/2.977, allocations: 0 / 0.5916 GB, free: 9.957 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