Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.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.DCmotor_ser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009008/0.0009008, allocations: 178.7 kB / 16.71 MB, free: 5.086 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.432/1.432, allocations: 225.7 MB / 243.2 MB, free: 8.512 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.0009359/0.0009358, allocations: 99.06 kB / 294.4 MB, free: 9.531 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.3315/0.3315, allocations: 38.12 MB / 383.6 MB, free: 40.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000501/0.0005013, allocations: 8.219 kB / 453.5 MB, free: 8.816 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.394/0.3945, allocations: 59.13 MB / 0.5006 GB, free: 39.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser): time 0.00592/0.4005, allocations: 5.247 MB / 0.5057 GB, free: 38.23 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003181/0.4037, allocations: 2.531 MB / 0.5082 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004111/0.4042, allocations: 28.94 kB / 0.5082 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005611/0.4047, allocations: 128.5 kB / 0.5083 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009633/0.4057, allocations: 320.6 kB / 0.5086 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006449/0.4064, allocations: 190.9 kB / 0.5088 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001242/0.4076, allocations: 0.832 MB / 0.5096 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005612/0.4082, allocations: 349.9 kB / 0.51 GB, free: 35.41 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004895/0.4087, allocations: 247.9 kB / 0.5102 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004132/0.4091, allocations: 272.8 kB / 0.5105 GB, free: 35.19 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.834e-05/0.4092, allocations: 22.03 kB / 0.5105 GB, free: 35.19 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002252/0.4094, allocations: 60.22 kB / 0.5105 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001715/0.4096, allocations: 128.3 kB / 0.5107 GB, free: 35.12 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000268/0.4099, allocations: 260.9 kB / 0.5109 GB, free: 34.95 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006402/0.4105, allocations: 0.6133 MB / 0.5115 GB, free: 34.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4105, allocations: 5.891 kB / 0.5115 GB, free: 34.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4105, allocations: 0.625 kB / 0.5115 GB, free: 34.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.4105, allocations: 0 / 0.5115 GB, free: 34.75 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.00122/0.4118, allocations: 0.7525 MB / 0.5123 GB, free: 34.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.4118, allocations: 8.562 kB / 0.5123 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.735e-05/0.4119, allocations: 58.44 kB / 0.5123 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006236/0.4125, allocations: 472.8 kB / 0.5128 GB, free: 33.81 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.422e-05/0.4126, allocations: 30.5 kB / 0.5128 GB, free: 33.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.174e-05/0.4127, allocations: 41.97 kB / 0.5128 GB, free: 33.78 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000592/0.4133, allocations: 449.3 kB / 0.5133 GB, free: 33.53 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.4133, allocations: 0 / 0.5133 GB, free: 33.53 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.109e-05/0.4133, allocations: 20.42 kB / 0.5133 GB, free: 33.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.4134, allocations: 10.12 kB / 0.5133 GB, free: 33.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003857/0.4137, allocations: 278.1 kB / 0.5136 GB, free: 33.42 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001813/0.4156, allocations: 1.863 MB / 0.5154 GB, free: 31.97 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004574/0.416, allocations: 256.3 kB / 0.5156 GB, free: 31.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/0.4162, allocations: 85.12 kB / 0.5157 GB, free: 31.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.084e-05/0.4162, allocations: 10.88 kB / 0.5157 GB, free: 31.76 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002494/0.4165, allocations: 174.3 kB / 0.5159 GB, free: 31.65 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 1.613e-06/0.4165, allocations: 0 / 0.5159 GB, free: 31.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.001883/0.4184, allocations: 1.147 MB / 0.517 GB, free: 30.83 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.205e-05/0.4185, allocations: 131.5 kB / 0.5171 GB, free: 30.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004216/0.4189, allocations: 406.7 kB / 0.5175 GB, free: 30.47 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.4189, allocations: 36.7 kB / 0.5176 GB, free: 30.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.4191, allocations: 261 kB / 0.5178 GB, free: 30.22 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.223e-05/0.4192, allocations: 92.06 kB / 0.5179 GB, free: 30.15 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.448e-05/0.4192, allocations: 8.062 kB / 0.5179 GB, free: 30.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.4193, allocations: 355.7 kB / 0.5182 GB, free: 29.81 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.4195, allocations: 82.98 kB / 0.5183 GB, free: 29.78 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002264/0.4197, allocations: 206.8 kB / 0.5185 GB, free: 29.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004131/0.4201, allocations: 316.9 kB / 0.5188 GB, free: 29.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4201, allocations: 1.656 kB / 0.5188 GB, free: 29.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008674/0.421, allocations: 437.3 kB / 0.5192 GB, free: 29.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.421, allocations: 6.406 kB / 0.5192 GB, free: 29.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.4211, allocations: 12.23 kB / 0.5193 GB, free: 29.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004276/0.4215, allocations: 95.73 kB / 0.5193 GB, free: 29.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002418/0.4218, allocations: 74.28 kB / 0.5194 GB, free: 29.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001942/0.4237, allocations: 1.81 MB / 0.5212 GB, free: 27.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002596/0.424, allocations: 21.72 kB / 0.5212 GB, free: 27.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.939e-05/0.424, allocations: 13.02 kB / 0.5212 GB, free: 27.51 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (38): * Single equations (assignments): 37 * Array equations: 0 * 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 {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002625/0.4243, allocations: 200.5 kB / 0.5214 GB, free: 27.35 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.229e-05/0.4243, allocations: 43.73 kB / 0.5215 GB, free: 27.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005717/0.4249, allocations: 308.9 kB / 0.5217 GB, free: 27.17 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.4249, allocations: 3.688 kB / 0.5217 GB, free: 27.17 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.4249, allocations: 2.688 kB / 0.5218 GB, free: 27.17 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.425, allocations: 1.125 kB / 0.5218 GB, free: 27.17 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009144/0.4259, allocations: 0.78 MB / 0.5225 GB, free: 26.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.4259, allocations: 0 / 0.5225 GB, free: 26.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002311/0.4261, allocations: 49.17 kB / 0.5226 GB, free: 26.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001807/0.4263, allocations: 49.58 kB / 0.5226 GB, free: 26.65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.4264, allocations: 6.906 kB / 0.5226 GB, free: 26.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008636/0.4272, allocations: 1.446 MB / 0.524 GB, free: 25.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4272, allocations: 3 kB / 0.524 GB, free: 25.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006433/0.4279, allocations: 0.4924 MB / 0.5245 GB, free: 24.96 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.428, allocations: 138.8 kB / 0.5246 GB, free: 24.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.789e-05/0.4281, allocations: 10.34 kB / 0.5247 GB, free: 24.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002374/0.4283, allocations: 19.95 kB / 0.5247 GB, free: 24.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.821e-05/0.4284, allocations: 22.3 kB / 0.5247 GB, free: 24.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.4284, allocations: 13.97 kB / 0.5247 GB, free: 24.81 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002382/0.4287, allocations: 274.4 kB / 0.525 GB, free: 24.67 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4287, allocations: 0 / 0.525 GB, free: 24.67 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004658/0.4291, allocations: 103.7 kB / 0.5251 GB, free: 24.66 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dcm_ser.motor.phi_el,dcm_ser.motor.w_el,dcm_ser.motor.i,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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00085/0.43, allocations: 471.3 kB / 0.5255 GB, free: 24.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007533/0.4308, allocations: 403.7 kB / 0.5259 GB, free: 24.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.4308, allocations: 0 / 0.5259 GB, free: 24.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000329/0.4311, allocations: 251.8 kB / 0.5261 GB, free: 24.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006486/0.4318, allocations: 121 kB / 0.5263 GB, free: 23.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.4334, allocations: 1.385 MB / 0.5276 GB, free: 23.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.4337, allocations: 0.8559 MB / 0.5284 GB, free: 22.4 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002396/0.4339, allocations: 60.42 kB / 0.5285 GB, free: 22.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.954e-05/0.434, allocations: 41.28 kB / 0.5285 GB, free: 22.37 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.434, allocations: 0 / 0.5285 GB, free: 22.37 MB / 378.7 MB Notification: Performance of Templates: time 0.009615/0.4436, allocations: 5.831 MB / 0.5342 GB, free: 21.92 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe 2>&1)