Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Drives.ASMav,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2400,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMav,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2400,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 183.2 kB / 16.71 MB, free: 4.945 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 225.7 MB / 243.2 MB, free: 8.449 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007752/0.0007752, allocations: 94.73 kB / 294.4 MB, free: 9.48 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.3039/0.3039, allocations: 38.12 MB / 383.6 MB, free: 40.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003099/0.00031, allocations: 12 kB / 453.5 MB, free: 8.762 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3363, allocations: 59.14 MB / 0.5006 GB, free: 38.99 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.01057/0.3469, allocations: 7.58 MB / 0.508 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01003/0.357, allocations: 7.6 MB / 0.5154 GB, free: 30.12 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001535/0.3586, allocations: 51.28 kB / 0.5155 GB, free: 30.1 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01133/0.37, allocations: 5.444 MB / 0.5208 GB, free: 28.83 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002582/0.3726, allocations: 491.2 kB / 0.5213 GB, free: 28.56 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.3743, allocations: 453.4 kB / 0.5217 GB, free: 28.32 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003532/0.3778, allocations: 2.948 MB / 0.5246 GB, free: 27.48 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001925/0.3798, allocations: 1.245 MB / 0.5258 GB, free: 26.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001199/0.381, allocations: 0.5071 MB / 0.5263 GB, free: 26.46 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001226/0.3822, allocations: 0.7045 MB / 0.527 GB, free: 26.22 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002959/0.3826, allocations: 44.53 kB / 0.527 GB, free: 26.22 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008168/0.3834, allocations: 205 kB / 0.5272 GB, free: 26.17 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006012/0.384, allocations: 439.1 kB / 0.5276 GB, free: 26.04 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009994/0.385, allocations: 0.5384 MB / 0.5282 GB, free: 25.71 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001483/0.3865, allocations: 1.463 MB / 0.5296 GB, free: 25.28 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3865, allocations: 0 / 0.5296 GB, free: 25.28 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.594e-06/0.3865, allocations: 0 / 0.5296 GB, free: 25.28 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.857e-05/0.3866, allocations: 3.938 kB / 0.5296 GB, free: 25.28 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.002497/0.3891, allocations: 1.241 MB / 0.5308 GB, free: 24.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.3891, allocations: 9.469 kB / 0.5308 GB, free: 24.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005859/0.3897, allocations: 156.9 kB / 0.531 GB, free: 24.42 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001518/0.3912, allocations: 0.8798 MB / 0.5318 GB, free: 23.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.661e-05/0.3913, allocations: 58.69 kB / 0.5319 GB, free: 23.87 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001698/0.3915, allocations: 88.45 kB / 0.532 GB, free: 23.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001923/0.3934, allocations: 1.227 MB / 0.5332 GB, free: 23.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.279e-05/0.3935, allocations: 10.91 kB / 0.5332 GB, free: 23.24 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.302e-05/0.3935, allocations: 33.5 kB / 0.5332 GB, free: 23.22 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000214/0.3938, allocations: 89.19 kB / 0.5333 GB, free: 23.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/0.3951, allocations: 0.9948 MB / 0.5343 GB, free: 22.88 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005594/0.4007, allocations: 4.938 MB / 0.5391 GB, free: 19.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008192/0.4016, allocations: 0.659 MB / 0.5397 GB, free: 19.17 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005004/0.4021, allocations: 354.8 kB / 0.5401 GB, free: 19.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.446e-05/0.4021, allocations: 11.61 kB / 0.5401 GB, free: 19.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006317/0.4028, allocations: 450.7 kB / 0.5405 GB, free: 18.83 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 2.685e-06/0.4028, allocations: 0 / 0.5405 GB, free: 18.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.004774/0.4076, allocations: 3.246 MB / 0.5437 GB, free: 16.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.4076, allocations: 113.2 kB / 0.5438 GB, free: 16.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007961/0.4084, allocations: 0.7425 MB / 0.5445 GB, free: 16.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.073e-05/0.4085, allocations: 36.77 kB / 0.5445 GB, free: 16.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002689/0.4088, allocations: 0.4925 MB / 0.545 GB, free: 16.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.4089, allocations: 249.3 kB / 0.5453 GB, free: 15.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-05/0.409, allocations: 19.12 kB / 0.5453 GB, free: 15.81 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.4091, allocations: 399.5 kB / 0.5457 GB, free: 15.46 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005581/0.4097, allocations: 372.1 kB / 0.546 GB, free: 15.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007403/0.4104, allocations: 0.6501 MB / 0.5466 GB, free: 14.85 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/0.4116, allocations: 1.057 MB / 0.5477 GB, free: 14.15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.4116, allocations: 2.75 kB / 0.5477 GB, free: 14.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002873/0.4145, allocations: 1.624 MB / 0.5493 GB, free: 13.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.4145, allocations: 9.969 kB / 0.5493 GB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.564e-05/0.4146, allocations: 10.92 kB / 0.5493 GB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00156/0.4161, allocations: 488.7 kB / 0.5498 GB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000652/0.4168, allocations: 174.7 kB / 0.5499 GB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009292/0.4261, allocations: 6.515 MB / 0.5563 GB, free: 9.004 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008549/0.427, allocations: 43.84 kB / 0.5563 GB, free: 8.992 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.78e-05/0.4271, allocations: 45.69 kB / 0.5564 GB, free: 8.984 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0006049/0.4277, allocations: 355.6 kB / 0.5567 GB, free: 8.754 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.4278, allocations: 88.33 kB / 0.5568 GB, free: 8.707 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00178/0.4296, allocations: 1.119 MB / 0.5579 GB, free: 8.098 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.4296, allocations: 8.297 kB / 0.5579 GB, free: 8.098 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.4297, allocations: 1.5 kB / 0.5579 GB, free: 8.098 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.4297, allocations: 11.33 kB / 0.5579 GB, free: 8.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003114/0.4328, allocations: 2.12 MB / 0.56 GB, free: 6.629 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.4328, allocations: 2.062 kB / 0.56 GB, free: 6.629 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007318/0.4335, allocations: 128.6 kB / 0.5601 GB, free: 6.594 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004974/0.4341, allocations: 168.6 kB / 0.5603 GB, free: 6.488 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.358e-05/0.4341, allocations: 20.27 kB / 0.5603 GB, free: 6.477 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002875/0.437, allocations: 4.454 MB / 0.5646 GB, free: 2.102 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.437, allocations: 6.109 kB / 0.5646 GB, free: 2.098 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0021/0.4391, allocations: 1.534 MB / 0.5661 GB, free: 1.082 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003283/0.4395, allocations: 217.5 kB / 0.5663 GB, free: 0.8945 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.4396, allocations: 19.16 kB / 0.5664 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004058/0.44, allocations: 31.22 kB / 0.5664 GB, free: 0.8672 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/0.4402, allocations: 59.7 kB / 0.5664 GB, free: 0.832 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.379e-05/0.4402, allocations: 25.52 kB / 0.5665 GB, free: 0.8242 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006741/0.4409, allocations: 0.5044 MB / 0.567 GB, free: 0.5352 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4409, allocations: 0 / 0.567 GB, free: 0.5352 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001189/0.4421, allocations: 265.5 kB / 0.5672 GB, free: 0.5 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 13 (power.pav[1],power.pav[2],power.pav[3],asm.motor.i[3],asm.motor.phi_el,asm.motor.w_el,asm.motor.psi_s[1],asm.motor.psi_s[2],asm.motor.psi_rd[1],asm.motor.psi_rd[2],asm.motor.psi_rq[1],asm.motor.psi_rq[2],tabLoad.s) * Number of discrete variables: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (2,1,100.0%), (2,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.0009463/0.4431, allocations: 478.3 kB / 0.5677 GB, free: 228 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002582/0.4456, allocations: 1.324 MB / 0.569 GB, free: 15.35 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.4457, allocations: 0 / 0.569 GB, free: 15.35 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001228/0.4469, allocations: 0.7844 MB / 0.5697 GB, free: 14.53 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.4481, allocations: 211.1 kB / 0.5699 GB, free: 14.32 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004789/0.4529, allocations: 3.314 MB / 0.5732 GB, free: 10.96 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008558/0.4538, allocations: 1.147 MB / 0.5743 GB, free: 9.789 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0008052/0.4546, allocations: 227.3 kB / 0.5745 GB, free: 9.562 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001878/0.4548, allocations: 71.41 kB / 0.5746 GB, free: 9.496 MB / 394.7 MB Notification: Performance of SimCode: time 6.41e-07/0.4548, allocations: 0 / 0.5746 GB, free: 9.496 MB / 394.7 MB Notification: Performance of Templates: time 0.02467/0.4794, allocations: 13.79 MB / 0.588 GB, free: 11.77 MB / 410.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe 2>&1)