Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.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_par,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001241/0.001247, allocations: 182.6 kB / 16.71 MB, free: 4.969 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.378/1.378, allocations: 225.7 MB / 243.2 MB, free: 8.473 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.0008079/0.0008083, allocations: 87.45 kB / 294.4 MB, free: 9.512 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.3219/0.3219, allocations: 38.13 MB / 383.6 MB, free: 40.31 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003401/0.0003403, allocations: 8 kB / 453.5 MB, free: 8.797 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.3759, allocations: 59.13 MB / 0.5006 GB, free: 39.02 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.007683/0.3837, allocations: 5.726 MB / 0.5062 GB, free: 37.86 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004336/0.388, allocations: 2.674 MB / 0.5088 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009502/0.389, allocations: 29.25 kB / 0.5088 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007701/0.3898, allocations: 146.7 kB / 0.509 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001567/0.3914, allocations: 377 kB / 0.5093 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008936/0.3923, allocations: 219.3 kB / 0.5095 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001989/0.3943, allocations: 1.067 MB / 0.5106 GB, free: 34.93 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008376/0.3952, allocations: 394.2 kB / 0.511 GB, free: 34.8 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006834/0.3959, allocations: 301.7 kB / 0.5112 GB, free: 34.68 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005254/0.3964, allocations: 322.8 kB / 0.5115 GB, free: 34.55 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.753e-05/0.3965, allocations: 26.62 kB / 0.5116 GB, free: 34.55 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002206/0.3967, allocations: 71.8 kB / 0.5116 GB, free: 34.53 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00015/0.3969, allocations: 146.8 kB / 0.5118 GB, free: 34.47 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002547/0.3971, allocations: 300.1 kB / 0.5121 GB, free: 34.28 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005767/0.3977, allocations: 0.6927 MB / 0.5127 GB, free: 34.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3977, allocations: 0 / 0.5127 GB, free: 34.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3977, allocations: 1.344 kB / 0.5127 GB, free: 34.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.3978, allocations: 0 / 0.5127 GB, free: 34.07 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001292/0.3991, allocations: 0.7944 MB / 0.5135 GB, free: 33.47 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.3991, allocations: 9.219 kB / 0.5135 GB, free: 33.47 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.811e-05/0.3992, allocations: 63.31 kB / 0.5136 GB, free: 33.44 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006694/0.3999, allocations: 0.5093 MB / 0.5141 GB, free: 33.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.396e-05/0.3999, allocations: 27.78 kB / 0.5141 GB, free: 33.06 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.4, allocations: 50.86 kB / 0.5142 GB, free: 33.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006621/0.4007, allocations: 0.5072 MB / 0.5147 GB, free: 32.76 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.4007, allocations: 3.938 kB / 0.5147 GB, free: 32.76 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.9e-05/0.4008, allocations: 24.66 kB / 0.5147 GB, free: 32.74 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-05/0.4009, allocations: 14.78 kB / 0.5147 GB, free: 32.74 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004725/0.4013, allocations: 330.2 kB / 0.515 GB, free: 32.63 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00209/0.4034, allocations: 2.077 MB / 0.517 GB, free: 31.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00042/0.4039, allocations: 231.5 kB / 0.5173 GB, free: 30.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.404, allocations: 81.36 kB / 0.5173 GB, free: 30.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.285e-05/0.404, allocations: 3.094 kB / 0.5173 GB, free: 30.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002443/0.4043, allocations: 178.4 kB / 0.5175 GB, free: 30.76 MB / 378.7 MB Notification: Performance of pre-optimization done (n=23): time 2.184e-06/0.4043, allocations: 0 / 0.5175 GB, free: 30.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=26): time 0.001798/0.4061, allocations: 1.151 MB / 0.5186 GB, free: 29.92 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.4062, allocations: 136.4 kB / 0.5188 GB, free: 29.76 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005473/0.4067, allocations: 428.9 kB / 0.5192 GB, free: 29.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.4068, allocations: 29.7 kB / 0.5192 GB, free: 29.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.4069, allocations: 292 kB / 0.5195 GB, free: 29.28 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.477e-05/0.407, allocations: 97.27 kB / 0.5196 GB, free: 29.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.461e-05/0.407, allocations: 6.688 kB / 0.5196 GB, free: 29.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.226e-05/0.4071, allocations: 354.7 kB / 0.5199 GB, free: 28.87 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.4072, allocations: 90.34 kB / 0.52 GB, free: 28.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.4074, allocations: 227.9 kB / 0.5202 GB, free: 28.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003152/0.4077, allocations: 323.8 kB / 0.5205 GB, free: 28.37 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.4077, allocations: 2.938 kB / 0.5205 GB, free: 28.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007224/0.4085, allocations: 446.8 kB / 0.521 GB, free: 28.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.4085, allocations: 9.031 kB / 0.521 GB, free: 28.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.4085, allocations: 6 kB / 0.521 GB, free: 28.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004112/0.4089, allocations: 93.61 kB / 0.5211 GB, free: 28.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/0.4092, allocations: 77.52 kB / 0.5211 GB, free: 28.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/0.4107, allocations: 1.696 MB / 0.5228 GB, free: 26.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002389/0.411, allocations: 23.69 kB / 0.5228 GB, free: 26.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.672e-05/0.411, allocations: 21.81 kB / 0.5228 GB, free: 26.62 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: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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 {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001976/0.4112, allocations: 201.2 kB / 0.523 GB, free: 26.46 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.756e-05/0.4113, allocations: 47.14 kB / 0.5231 GB, free: 26.44 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004729/0.4117, allocations: 291.2 kB / 0.5234 GB, free: 26.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.4118, allocations: 2.625 kB / 0.5234 GB, free: 26.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.4118, allocations: 6.562 kB / 0.5234 GB, free: 26.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.4118, allocations: 3.938 kB / 0.5234 GB, free: 26.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009218/0.4127, allocations: 0.7886 MB / 0.5241 GB, free: 25.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.4127, allocations: 0 / 0.5241 GB, free: 25.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002658/0.413, allocations: 50.83 kB / 0.5242 GB, free: 25.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001802/0.4132, allocations: 61.62 kB / 0.5242 GB, free: 25.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.4132, allocations: 6.969 kB / 0.5243 GB, free: 25.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008446/0.4141, allocations: 1.437 MB / 0.5257 GB, free: 24.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4141, allocations: 2.938 kB / 0.5257 GB, free: 24.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005606/0.4146, allocations: 486 kB / 0.5261 GB, free: 24.08 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.915e-05/0.4148, allocations: 129.9 kB / 0.5262 GB, free: 23.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.805e-05/0.4148, allocations: 10.05 kB / 0.5263 GB, free: 23.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.415, allocations: 12.44 kB / 0.5263 GB, free: 23.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.681e-05/0.4151, allocations: 33.34 kB / 0.5263 GB, free: 23.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.4151, allocations: 5.812 kB / 0.5263 GB, free: 23.94 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002533/0.4154, allocations: 294.2 kB / 0.5266 GB, free: 23.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4154, allocations: 0 / 0.5266 GB, free: 23.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004195/0.4158, allocations: 121.7 kB / 0.5267 GB, free: 23.77 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (dcm_par.motor.phi_el,dcm_par.motor.w_el,dcm_par.motor.i,dcm_par.motor.i_f,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 (23): * Single equations (assignments): 21 * 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.0008069/0.4166, allocations: 466.2 kB / 0.5271 GB, free: 23.51 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006617/0.4173, allocations: 405.9 kB / 0.5275 GB, free: 23.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4173, allocations: 0 / 0.5275 GB, free: 23.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003048/0.4176, allocations: 234.4 kB / 0.5278 GB, free: 23.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006502/0.4183, allocations: 128.5 kB / 0.5279 GB, free: 23.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.4198, allocations: 1.512 MB / 0.5294 GB, free: 22.14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.4201, allocations: 0.8773 MB / 0.5302 GB, free: 21.42 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002294/0.4203, allocations: 70.8 kB / 0.5303 GB, free: 21.39 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.046e-05/0.4204, allocations: 40.06 kB / 0.5303 GB, free: 21.38 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4204, allocations: 0 / 0.5303 GB, free: 21.38 MB / 378.7 MB Notification: Performance of Templates: time 0.009387/0.4298, allocations: 6.076 MB / 0.5362 GB, free: 20.91 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe 2>&1)