Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.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.ASM_Y_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D") translateModel(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 177.3 kB / 16.71 MB, free: 5.094 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.439/1.439, 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.0008346/0.0008345, allocations: 92.28 kB / 294.4 MB, free: 9.504 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.3089/0.3089, allocations: 38.12 MB / 383.6 MB, free: 40.35 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004028/0.0004028, allocations: 8 kB / 453.5 MB, free: 8.789 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3435, allocations: 59.14 MB / 0.5006 GB, free: 39.18 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D): time 0.006856/0.3505, allocations: 6.131 MB / 0.5066 GB, free: 37.7 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007571/0.3581, allocations: 6.748 MB / 0.5132 GB, free: 32.02 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001224/0.3594, allocations: 39.38 kB / 0.5132 GB, free: 32 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008945/0.3683, allocations: 4.587 MB / 0.5177 GB, free: 30.89 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00151/0.3699, allocations: 408.9 kB / 0.5181 GB, free: 30.68 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007337/0.3706, allocations: 249.2 kB / 0.5183 GB, free: 30.54 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002392/0.373, allocations: 2.302 MB / 0.5206 GB, free: 29.88 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/0.3741, allocations: 1.07 MB / 0.5216 GB, free: 29.13 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005292/0.3747, allocations: 395.2 kB / 0.522 GB, free: 28.99 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005345/0.3752, allocations: 0.489 MB / 0.5225 GB, free: 28.82 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.049e-05/0.3753, allocations: 32 kB / 0.5225 GB, free: 28.82 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003099/0.3756, allocations: 118 kB / 0.5226 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002285/0.3759, allocations: 281.7 kB / 0.5229 GB, free: 28.7 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003029/0.3762, allocations: 373.2 kB / 0.5232 GB, free: 28.47 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007279/0.3769, allocations: 0.9742 MB / 0.5242 GB, free: 28.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3769, allocations: 0 / 0.5242 GB, free: 28.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.3769, allocations: 0 / 0.5242 GB, free: 28.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.3769, allocations: 3.938 kB / 0.5242 GB, free: 28.2 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001481/0.3784, allocations: 0.8851 MB / 0.5251 GB, free: 27.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.3785, allocations: 6.688 kB / 0.5251 GB, free: 27.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003636/0.3788, allocations: 111.4 kB / 0.5252 GB, free: 27.49 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008857/0.3797, allocations: 0.6025 MB / 0.5258 GB, free: 27.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.076e-05/0.3798, allocations: 70.05 kB / 0.5258 GB, free: 27.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.624e-05/0.3799, allocations: 66.66 kB / 0.5259 GB, free: 27.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.3809, allocations: 0.8066 MB / 0.5267 GB, free: 26.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.381, allocations: 3.156 kB / 0.5267 GB, free: 26.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.169e-05/0.381, allocations: 19.34 kB / 0.5267 GB, free: 26.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001067/0.3812, allocations: 50.75 kB / 0.5267 GB, free: 26.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007446/0.3819, allocations: 0.5852 MB / 0.5273 GB, free: 26.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003148/0.3851, allocations: 2.956 MB / 0.5302 GB, free: 24.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006725/0.3858, allocations: 416.8 kB / 0.5306 GB, free: 24.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002751/0.386, allocations: 227.9 kB / 0.5308 GB, free: 24.22 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.154e-05/0.3861, allocations: 4 kB / 0.5308 GB, free: 24.22 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004114/0.3865, allocations: 338.6 kB / 0.5311 GB, free: 24.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 2.415e-06/0.3865, allocations: 0 / 0.5311 GB, free: 24.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=46): time 0.003426/0.3899, allocations: 2.496 MB / 0.5336 GB, free: 22.33 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.462e-05/0.39, allocations: 139 kB / 0.5337 GB, free: 22.17 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004649/0.3905, allocations: 443.4 kB / 0.5341 GB, free: 21.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.3905, allocations: 36.64 kB / 0.5342 GB, free: 21.92 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.3907, allocations: 328.8 kB / 0.5345 GB, free: 21.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.724e-05/0.3908, allocations: 169.2 kB / 0.5347 GB, free: 21.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.642e-05/0.3908, allocations: 11.31 kB / 0.5347 GB, free: 21.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.98e-05/0.3909, allocations: 357.8 kB / 0.535 GB, free: 21.19 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002957/0.3912, allocations: 236.5 kB / 0.5352 GB, free: 21.11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003753/0.3916, allocations: 392.5 kB / 0.5356 GB, free: 20.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002436/0.3941, allocations: 1.34 MB / 0.5369 GB, free: 20.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.3941, allocations: 3.062 kB / 0.5369 GB, free: 20.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001683/0.3958, allocations: 0.9732 MB / 0.5379 GB, free: 19.67 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.481e-05/0.3958, allocations: 35.83 kB / 0.5379 GB, free: 19.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.3959, allocations: 3.219 kB / 0.5379 GB, free: 19.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008584/0.3967, allocations: 303.5 kB / 0.5382 GB, free: 19.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009044/0.3976, allocations: 190 kB / 0.5384 GB, free: 19.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005356/0.403, allocations: 4.836 MB / 0.5431 GB, free: 15.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004842/0.4035, allocations: 26.39 kB / 0.5431 GB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.334e-05/0.4036, allocations: 26.56 kB / 0.5431 GB, free: 15.89 MB / 378.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.loadInertia.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (system.initime,$whenCondition1,$PRE.relay1.cnt,relay1.cnt,$PRE.relay1.y,relay1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 1 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0003978/0.404, allocations: 297.5 kB / 0.5434 GB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.006e-05/0.404, allocations: 48.59 kB / 0.5435 GB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/0.4052, allocations: 0.8267 MB / 0.5443 GB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.4052, allocations: 6.938 kB / 0.5443 GB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.4052, allocations: 3.062 kB / 0.5443 GB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.4052, allocations: 1.406 kB / 0.5443 GB, free: 15.12 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002219/0.4074, allocations: 1.672 MB / 0.5459 GB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.4074, allocations: 3 kB / 0.5459 GB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001167/0.4086, allocations: 198.5 kB / 0.5461 GB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002103/0.4088, allocations: 82.34 kB / 0.5462 GB, free: 14.01 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.698e-05/0.4089, allocations: 12.64 kB / 0.5462 GB, free: 14.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001927/0.4108, allocations: 3.954 MB / 0.5501 GB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.4108, allocations: 0.75 kB / 0.5501 GB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001371/0.4122, allocations: 1.119 MB / 0.5512 GB, free: 9.316 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002128/0.4124, allocations: 176.5 kB / 0.5513 GB, free: 9.168 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.655e-05/0.4125, allocations: 12.33 kB / 0.5513 GB, free: 9.164 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002558/0.4128, allocations: 19.91 kB / 0.5514 GB, free: 9.156 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.4129, allocations: 34.7 kB / 0.5514 GB, free: 9.148 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.392e-05/0.4129, allocations: 14.77 kB / 0.5514 GB, free: 9.145 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003742/0.4133, allocations: 320.5 kB / 0.5517 GB, free: 8.992 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4133, allocations: 0 / 0.5517 GB, free: 8.992 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007376/0.4141, allocations: 161.3 kB / 0.5519 GB, free: 8.977 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (asm_Y_D.motor.i[3],asm_Y_D.motor.phi_el,asm_Y_D.motor.w_el,asm_Y_D.motor.psi_s[1],asm_Y_D.motor.psi_s[2],asm_Y_D.motor.psi_rd[1],asm_Y_D.motor.psi_rq[1]) * Number of discrete variables: 4 ($whenCondition1,relay1.y,relay1.cnt,system.initime) * Number of discrete states: 3 (relay1.y,relay1.cnt,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * 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,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.0001415/0.4142, allocations: 128.2 kB / 0.552 GB, free: 8.867 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001616/0.4158, allocations: 0.9626 MB / 0.5529 GB, free: 8.328 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4159, allocations: 4.062 kB / 0.5529 GB, free: 8.324 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006804/0.4165, allocations: 0.6446 MB / 0.5536 GB, free: 7.836 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007417/0.4173, allocations: 123 kB / 0.5537 GB, free: 7.793 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002794/0.4201, allocations: 2.058 MB / 0.5557 GB, free: 6.504 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005526/0.4207, allocations: 0.9835 MB / 0.5567 GB, free: 5.762 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004404/0.4211, allocations: 113.6 kB / 0.5568 GB, free: 5.738 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.4212, allocations: 40.64 kB / 0.5568 GB, free: 5.73 MB / 378.7 MB Notification: Performance of SimCode: time 8.41e-07/0.4213, allocations: 0 / 0.5568 GB, free: 5.73 MB / 378.7 MB Notification: Performance of Templates: time 0.01626/0.4375, allocations: 7.911 MB / 0.5645 GB, free: 2.797 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.pipe 2>&1)