Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.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.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 183.2 kB / 16.71 MB, free: 4.84 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.486/1.486, 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.0007705/0.0007705, allocations: 89.84 kB / 294.4 MB, free: 9.535 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.4051/0.4051, allocations: 38.12 MB / 383.6 MB, free: 40.3 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005193/0.0005195, allocations: 8 kB / 453.5 MB, free: 8.801 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.3904, allocations: 59.13 MB / 0.5006 GB, free: 39.15 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.00505/0.3955, allocations: 4.227 MB / 0.5047 GB, free: 38.75 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001947/0.3975, allocations: 1.27 MB / 0.506 GB, free: 37.96 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002281/0.3978, allocations: 24.94 kB / 0.506 GB, free: 37.95 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001964/0.398, allocations: 32.81 kB / 0.506 GB, free: 37.93 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004616/0.3984, allocations: 165 kB / 0.5062 GB, free: 37.84 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.3987, allocations: 80.61 kB / 0.5063 GB, free: 37.8 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006756/0.3994, allocations: 0.5643 MB / 0.5068 GB, free: 37.6 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002612/0.3996, allocations: 103.1 kB / 0.5069 GB, free: 37.57 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002936/0.3999, allocations: 155.6 kB / 0.5071 GB, free: 37.51 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000395/0.4003, allocations: 200.7 kB / 0.5072 GB, free: 37.44 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.966e-05/0.4004, allocations: 14 kB / 0.5073 GB, free: 37.44 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.466e-05/0.4005, allocations: 11.16 kB / 0.5073 GB, free: 37.44 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001514/0.4006, allocations: 95.55 kB / 0.5074 GB, free: 37.41 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.4008, allocations: 160.3 kB / 0.5075 GB, free: 37.3 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003838/0.4012, allocations: 298 kB / 0.5078 GB, free: 37.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.4012, allocations: 0 / 0.5078 GB, free: 37.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4012, allocations: 1.594 kB / 0.5078 GB, free: 37.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.4012, allocations: 0 / 0.5078 GB, free: 37.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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001032/0.4023, allocations: 0.5687 MB / 0.5084 GB, free: 36.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.4023, allocations: 8.875 kB / 0.5084 GB, free: 36.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.778e-05/0.4024, allocations: 36.59 kB / 0.5084 GB, free: 36.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004314/0.4028, allocations: 322.5 kB / 0.5087 GB, free: 36.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.02e-05/0.4029, allocations: 18.22 kB / 0.5087 GB, free: 36.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.333e-05/0.4029, allocations: 22.72 kB / 0.5087 GB, free: 36.44 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005414/0.4035, allocations: 316.5 kB / 0.509 GB, free: 36.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.4035, allocations: 1.219 kB / 0.5091 GB, free: 36.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.883e-05/0.4035, allocations: 10.97 kB / 0.5091 GB, free: 36.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.4035, allocations: 10.62 kB / 0.5091 GB, free: 36.24 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004102/0.404, allocations: 216.9 kB / 0.5093 GB, free: 36.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001434/0.4054, allocations: 1.353 MB / 0.5106 GB, free: 35.1 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003177/0.4057, allocations: 141.9 kB / 0.5107 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.746e-05/0.4058, allocations: 60.41 kB / 0.5108 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.4059, allocations: 1.906 kB / 0.5108 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.4059, allocations: 35 kB / 0.5108 GB, free: 34.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.553e-06/0.4059, allocations: 0 / 0.5108 GB, free: 34.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007165/0.4066, allocations: 366 kB / 0.5112 GB, free: 34.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.4067, allocations: 78.42 kB / 0.5113 GB, free: 34.67 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002385/0.4069, allocations: 262.1 kB / 0.5115 GB, free: 34.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.4069, allocations: 29.05 kB / 0.5115 GB, free: 34.49 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.827e-05/0.407, allocations: 202.5 kB / 0.5117 GB, free: 34.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.177e-05/0.4071, allocations: 51.8 kB / 0.5118 GB, free: 34.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.548e-06/0.4071, allocations: 10.91 kB / 0.5118 GB, free: 34.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.493e-05/0.4072, allocations: 335.5 kB / 0.5121 GB, free: 33.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.079e-05/0.4073, allocations: 55.83 kB / 0.5122 GB, free: 33.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.4074, allocations: 146.2 kB / 0.5123 GB, free: 33.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.4076, allocations: 230.4 kB / 0.5125 GB, free: 33.6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.4076, allocations: 0 / 0.5125 GB, free: 33.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003049/0.4079, allocations: 250.4 kB / 0.5128 GB, free: 33.49 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.4079, allocations: 6 kB / 0.5128 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.408, allocations: 2.844 kB / 0.5128 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.408, allocations: 3.125 kB / 0.5128 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.4082, allocations: 55.3 kB / 0.5128 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.4082, allocations: 9.781 kB / 0.5128 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.4083, allocations: 6.906 kB / 0.5128 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.4083, allocations: 11.53 kB / 0.5128 GB, free: 33.47 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (25): * Single equations (assignments): 25 * 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.0001171/0.4084, allocations: 168.3 kB / 0.513 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.862e-05/0.4085, allocations: 31.14 kB / 0.513 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002803/0.4088, allocations: 187 kB / 0.5132 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.4088, allocations: 2.781 kB / 0.5132 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.4088, allocations: 3.281 kB / 0.5132 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.4088, allocations: 2.781 kB / 0.5132 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005381/0.4093, allocations: 0.5601 MB / 0.5138 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.4094, allocations: 0 / 0.5138 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.4095, allocations: 29.56 kB / 0.5138 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.4095, allocations: 3.062 kB / 0.5138 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.4095, allocations: 8 kB / 0.5138 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.4095, allocations: 14.22 kB / 0.5138 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.4095, allocations: 0 / 0.5138 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.4098, allocations: 286.4 kB / 0.5141 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.483e-05/0.4098, allocations: 101.8 kB / 0.5142 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.431e-05/0.4099, allocations: 11.31 kB / 0.5142 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.41, allocations: 6.844 kB / 0.5142 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.41, allocations: 13.3 kB / 0.5142 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.4101, allocations: 2.812 kB / 0.5142 GB, free: 32.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001284/0.4102, allocations: 183.4 kB / 0.5144 GB, free: 32.35 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.4102, allocations: 0 / 0.5144 GB, free: 32.35 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003077/0.4105, allocations: 48.16 kB / 0.5144 GB, free: 32.34 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (17): * Single equations (assignments): 16 * 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.0001036/0.4106, allocations: 108 kB / 0.5145 GB, free: 32.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002519/0.4109, allocations: 156.8 kB / 0.5147 GB, free: 32.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.4109, allocations: 0 / 0.5147 GB, free: 32.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.411, allocations: 77.52 kB / 0.5148 GB, free: 32.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006324/0.4117, allocations: 56.69 kB / 0.5148 GB, free: 32.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008589/0.4125, allocations: 0.6629 MB / 0.5155 GB, free: 31.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002192/0.4128, allocations: 0.7801 MB / 0.5162 GB, free: 31.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001428/0.4129, allocations: 45.59 kB / 0.5163 GB, free: 31.01 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.138e-05/0.413, allocations: 21.16 kB / 0.5163 GB, free: 31 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.413, allocations: 0 / 0.5163 GB, free: 31 MB / 378.7 MB Notification: Performance of Templates: time 0.005138/0.4181, allocations: 2.106 MB / 0.5184 GB, free: 30.81 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe 2>&1)