Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.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.AC1ph_DC.Drives.DCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009862/0.0009863, allocations: 179 kB / 16.71 MB, free: 5.09 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.335/1.335, allocations: 225.7 MB / 243.2 MB, free: 10.23 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.0008386/0.0008387, allocations: 92.11 kB / 294.4 MB, free: 9.754 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.3245/0.3245, allocations: 38.12 MB / 383.6 MB, free: 40.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003259/0.0003259, allocations: 8 kB / 453.5 MB, free: 8.871 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3378, allocations: 59.14 MB / 0.5006 GB, free: 39.11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.005674/0.3436, allocations: 4.921 MB / 0.5054 GB, free: 38.45 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00233/0.3459, allocations: 1.91 MB / 0.5073 GB, free: 36.98 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003235/0.3463, allocations: 27.16 kB / 0.5073 GB, free: 36.97 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003328/0.3466, allocations: 98.55 kB / 0.5074 GB, free: 36.92 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006512/0.3473, allocations: 241.2 kB / 0.5076 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003648/0.3477, allocations: 117 kB / 0.5077 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009288/0.3486, allocations: 0.72 MB / 0.5084 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004829/0.3491, allocations: 306.5 kB / 0.5087 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000313/0.3494, allocations: 200.5 kB / 0.5089 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003368/0.3498, allocations: 219.7 kB / 0.5091 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.074e-05/0.3498, allocations: 22.97 kB / 0.5091 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.679e-05/0.3499, allocations: 19.59 kB / 0.5092 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.35, allocations: 102.7 kB / 0.5093 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002029/0.3502, allocations: 220.7 kB / 0.5095 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004729/0.3507, allocations: 476.4 kB / 0.5099 GB, free: 35.83 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3507, allocations: 1 kB / 0.5099 GB, free: 35.83 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3507, allocations: 0 / 0.5099 GB, free: 35.83 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.3508, allocations: 0.875 kB / 0.5099 GB, free: 35.83 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001088/0.3519, allocations: 0.6515 MB / 0.5106 GB, free: 35.31 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.3519, allocations: 8.781 kB / 0.5106 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.835e-05/0.352, allocations: 46.66 kB / 0.5106 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000508/0.3525, allocations: 397 kB / 0.511 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.973e-05/0.3526, allocations: 57.7 kB / 0.5111 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.402e-05/0.3527, allocations: 35.25 kB / 0.5111 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006289/0.3533, allocations: 431.5 kB / 0.5115 GB, free: 34.69 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.3534, allocations: 5.469 kB / 0.5115 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.322e-05/0.3534, allocations: 21.03 kB / 0.5115 GB, free: 34.67 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.3534, allocations: 10.03 kB / 0.5115 GB, free: 34.67 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004403/0.3539, allocations: 276.7 kB / 0.5118 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001665/0.3555, allocations: 1.849 MB / 0.5136 GB, free: 33.1 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002843/0.3558, allocations: 180.6 kB / 0.5138 GB, free: 32.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.356, allocations: 77.02 kB / 0.5139 GB, free: 32.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.356, allocations: 6.094 kB / 0.5139 GB, free: 32.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.356, allocations: 36.72 kB / 0.5139 GB, free: 32.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/0.356, allocations: 0 / 0.5139 GB, free: 32.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.001335/0.3574, allocations: 0.928 MB / 0.5148 GB, free: 32.19 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.3574, allocations: 109.7 kB / 0.5149 GB, free: 32.06 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002691/0.3577, allocations: 312.1 kB / 0.5152 GB, free: 31.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.3577, allocations: 29.7 kB / 0.5152 GB, free: 31.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.3578, allocations: 244.6 kB / 0.5155 GB, free: 31.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.044e-05/0.3579, allocations: 74.17 kB / 0.5155 GB, free: 31.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.245e-05/0.3579, allocations: 8 kB / 0.5155 GB, free: 31.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.898e-05/0.358, allocations: 344.7 kB / 0.5159 GB, free: 31.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.3582, allocations: 75.53 kB / 0.5159 GB, free: 31.24 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/0.3584, allocations: 193.1 kB / 0.5161 GB, free: 31.06 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003444/0.3587, allocations: 304.3 kB / 0.5164 GB, free: 30.81 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3587, allocations: 6.906 kB / 0.5164 GB, free: 30.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004798/0.3592, allocations: 330.9 kB / 0.5167 GB, free: 30.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.3592, allocations: 9.172 kB / 0.5167 GB, free: 30.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.3593, allocations: 3.094 kB / 0.5167 GB, free: 30.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.3593, allocations: 8.594 kB / 0.5168 GB, free: 30.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002784/0.3596, allocations: 74.12 kB / 0.5168 GB, free: 30.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.3596, allocations: 9.75 kB / 0.5168 GB, free: 30.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001655/0.3598, allocations: 16.75 kB / 0.5169 GB, free: 30.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.3598, allocations: 18.12 kB / 0.5169 GB, free: 30.63 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001575/0.36, allocations: 182.2 kB / 0.517 GB, free: 30.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.316e-05/0.36, allocations: 38.95 kB / 0.5171 GB, free: 30.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003582/0.3604, allocations: 205.2 kB / 0.5173 GB, free: 30.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.3604, allocations: 3.031 kB / 0.5173 GB, free: 30.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.3604, allocations: 4 kB / 0.5173 GB, free: 30.35 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.3604, allocations: 3.281 kB / 0.5173 GB, free: 30.35 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007279/0.3612, allocations: 0.6338 MB / 0.5179 GB, free: 29.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.3612, allocations: 0 / 0.5179 GB, free: 29.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002359/0.3614, allocations: 52.27 kB / 0.518 GB, free: 29.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.3614, allocations: 2.719 kB / 0.518 GB, free: 29.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.3614, allocations: 6.812 kB / 0.518 GB, free: 29.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.3615, allocations: 3.281 kB / 0.518 GB, free: 29.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.3615, allocations: 2.594 kB / 0.518 GB, free: 29.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004648/0.3619, allocations: 465.5 kB / 0.5184 GB, free: 29.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.368e-05/0.362, allocations: 101.6 kB / 0.5185 GB, free: 29.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.638e-05/0.3621, allocations: 10.56 kB / 0.5185 GB, free: 29.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.3623, allocations: 6.906 kB / 0.5185 GB, free: 29.45 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.778e-05/0.3623, allocations: 16.36 kB / 0.5185 GB, free: 29.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.3623, allocations: 5.719 kB / 0.5185 GB, free: 29.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001914/0.3625, allocations: 216.9 kB / 0.5188 GB, free: 29.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3625, allocations: 0 / 0.5188 GB, free: 29.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003822/0.3629, allocations: 71.66 kB / 0.5188 GB, free: 29.31 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (efficiency.pav,efficiency.qav,machine.motor.phi_el,machine.motor.w_el) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001039/0.363, allocations: 113.8 kB / 0.5189 GB, free: 29.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004064/0.3635, allocations: 207.5 kB / 0.5191 GB, free: 29.15 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3635, allocations: 1.188 kB / 0.5191 GB, free: 29.15 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00017/0.3636, allocations: 87.42 kB / 0.5192 GB, free: 29.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006604/0.3643, allocations: 85.81 kB / 0.5193 GB, free: 29.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.3658, allocations: 1.146 MB / 0.5204 GB, free: 28.33 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/0.366, allocations: 0.8169 MB / 0.5212 GB, free: 27.61 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001964/0.3662, allocations: 48.5 kB / 0.5213 GB, free: 27.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.168e-05/0.3663, allocations: 31.97 kB / 0.5213 GB, free: 27.59 MB / 378.7 MB Notification: Performance of SimCode: time 3e-07/0.3663, allocations: 0 / 0.5213 GB, free: 27.59 MB / 378.7 MB Notification: Performance of Templates: time 0.006171/0.3725, allocations: 3.215 MB / 0.5244 GB, free: 27.34 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe 2>&1)