Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor") translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.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.001356/0.001356, 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.424/1.424, allocations: 225.7 MB / 243.2 MB, free: 8.457 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.0008576/0.0008577, allocations: 91.25 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.33/0.33, allocations: 38.12 MB / 383.6 MB, free: 40.33 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003139/0.000314, allocations: 8 kB / 453.5 MB, free: 8.789 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3267, allocations: 59.13 MB / 0.5006 GB, free: 39.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.004975/0.3317, allocations: 4.647 MB / 0.5051 GB, free: 38.55 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003248/0.335, allocations: 2.398 MB / 0.5075 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005635/0.3356, allocations: 25.56 kB / 0.5075 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003543/0.336, allocations: 58.95 kB / 0.5076 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007974/0.3368, allocations: 264.8 kB / 0.5078 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007382/0.3375, allocations: 230.9 kB / 0.508 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00129/0.3388, allocations: 0.999 MB / 0.509 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007553/0.3396, allocations: 0.551 MB / 0.5095 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004311/0.34, allocations: 252.7 kB / 0.5098 GB, free: 35.4 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006312/0.3407, allocations: 406.2 kB / 0.5102 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.512e-05/0.3408, allocations: 21.88 kB / 0.5102 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004949/0.3413, allocations: 224.9 kB / 0.5104 GB, free: 35.22 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002304/0.3415, allocations: 221.2 kB / 0.5106 GB, free: 35.16 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002549/0.3418, allocations: 297.2 kB / 0.5109 GB, free: 34.98 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005932/0.3424, allocations: 0.7014 MB / 0.5116 GB, free: 34.78 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3424, allocations: 0.75 kB / 0.5116 GB, free: 34.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3424, allocations: 0 / 0.5116 GB, free: 34.78 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.3424, allocations: 1.688 kB / 0.5116 GB, free: 34.78 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001159/0.3436, allocations: 0.7917 MB / 0.5124 GB, free: 34.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.3436, allocations: 11.47 kB / 0.5124 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004775/0.3441, allocations: 88.28 kB / 0.5125 GB, free: 34.15 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004855/0.3446, allocations: 420.3 kB / 0.5129 GB, free: 33.85 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.967e-05/0.3446, allocations: 27.78 kB / 0.5129 GB, free: 33.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.553e-05/0.3447, allocations: 53.12 kB / 0.5129 GB, free: 33.81 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.3457, allocations: 0.859 MB / 0.5138 GB, free: 33.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.3458, allocations: 4 kB / 0.5138 GB, free: 33.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.047e-05/0.3458, allocations: 22.27 kB / 0.5138 GB, free: 33.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001248/0.346, allocations: 55.97 kB / 0.5139 GB, free: 33.42 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009605/0.3469, allocations: 0.7971 MB / 0.5146 GB, free: 33.19 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003165/0.3501, allocations: 2.725 MB / 0.5173 GB, free: 31.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000726/0.3508, allocations: 0.5775 MB / 0.5179 GB, free: 31.1 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004018/0.3513, allocations: 458.6 kB / 0.5183 GB, free: 30.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.181e-05/0.3513, allocations: 9.891 kB / 0.5183 GB, free: 30.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.3513, allocations: 39 kB / 0.5183 GB, free: 30.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=56): time 2.404e-06/0.3513, allocations: 0 / 0.5183 GB, free: 30.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=57): time 0.002474/0.3538, allocations: 1.88 MB / 0.5202 GB, free: 30.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.274e-05/0.3539, allocations: 141.1 kB / 0.5203 GB, free: 29.92 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002786/0.3542, allocations: 295.2 kB / 0.5206 GB, free: 29.76 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/0.3542, allocations: 29.7 kB / 0.5206 GB, free: 29.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.3544, allocations: 266.9 kB / 0.5209 GB, free: 29.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.3545, allocations: 184.7 kB / 0.5211 GB, free: 29.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.536e-05/0.3545, allocations: 10.81 kB / 0.5211 GB, free: 29.35 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.809e-05/0.3546, allocations: 357.3 kB / 0.5214 GB, free: 29.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003749/0.355, allocations: 337.5 kB / 0.5217 GB, free: 28.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004238/0.3554, allocations: 485.1 kB / 0.5222 GB, free: 28.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009091/0.3563, allocations: 0.9739 MB / 0.5231 GB, free: 28.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.3563, allocations: 0 / 0.5231 GB, free: 28.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001186/0.3575, allocations: 0.9798 MB / 0.5241 GB, free: 27.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.801e-05/0.3576, allocations: 76.7 kB / 0.5242 GB, free: 27.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.3576, allocations: 7.094 kB / 0.5242 GB, free: 27.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001769/0.3578, allocations: 37.83 kB / 0.5242 GB, free: 27.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003204/0.3581, allocations: 89.7 kB / 0.5243 GB, free: 27.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009005/0.3591, allocations: 1.439 MB / 0.5257 GB, free: 26.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003248/0.3594, allocations: 35.11 kB / 0.5257 GB, free: 26.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.196e-05/0.3595, allocations: 25.11 kB / 0.5258 GB, free: 26.34 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: 4 (voltage.h_mod3[1],voltage.h_mod3[2],voltage.h_mod3[3],system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 1 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003364/0.3598, allocations: 306.2 kB / 0.5261 GB, free: 26.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.787e-05/0.3599, allocations: 41.75 kB / 0.5261 GB, free: 26.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/0.3612, allocations: 1.077 MB / 0.5271 GB, free: 25.71 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.98e-05/0.3612, allocations: 10.16 kB / 0.5272 GB, free: 25.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3612, allocations: 7.172 kB / 0.5272 GB, free: 25.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.3612, allocations: 3.938 kB / 0.5272 GB, free: 25.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002052/0.3633, allocations: 1.797 MB / 0.5289 GB, free: 24.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.3633, allocations: 3.562 kB / 0.5289 GB, free: 24.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002517/0.3636, allocations: 53.86 kB / 0.529 GB, free: 24.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001141/0.3637, allocations: 38.66 kB / 0.529 GB, free: 24.87 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.202e-05/0.3638, allocations: 17.25 kB / 0.529 GB, free: 24.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008758/0.3646, allocations: 1.434 MB / 0.5304 GB, free: 23.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3647, allocations: 2.906 kB / 0.5304 GB, free: 23.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.3659, allocations: 1.17 MB / 0.5316 GB, free: 22.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001943/0.3661, allocations: 175.8 kB / 0.5317 GB, free: 22.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.316e-05/0.3662, allocations: 17.27 kB / 0.5318 GB, free: 22.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002397/0.3664, allocations: 23.92 kB / 0.5318 GB, free: 22.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.3666, allocations: 36.92 kB / 0.5318 GB, free: 22.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.615e-05/0.3666, allocations: 20.2 kB / 0.5318 GB, free: 22.83 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001744/0.3668, allocations: 206.1 kB / 0.532 GB, free: 22.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3668, allocations: 4 kB / 0.532 GB, free: 22.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005436/0.3674, allocations: 144.4 kB / 0.5322 GB, free: 22.69 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,voltage.h_mod3[1],voltage.h_mod3[2],voltage.h_mod3[3]) * Number of discrete states: 3 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 1 * 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.0002335/0.3676, allocations: 144.8 kB / 0.5323 GB, free: 22.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001477/0.3691, allocations: 1.371 MB / 0.5336 GB, free: 21.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.3691, allocations: 0 / 0.5336 GB, free: 21.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007848/0.3699, allocations: 0.9244 MB / 0.5346 GB, free: 21.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005443/0.3705, allocations: 77.58 kB / 0.5346 GB, free: 21.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.3722, allocations: 1.632 MB / 0.5362 GB, free: 20.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.3726, allocations: 0.9054 MB / 0.5371 GB, free: 19.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002703/0.3729, allocations: 104 kB / 0.5372 GB, free: 19.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.309e-05/0.373, allocations: 29.72 kB / 0.5372 GB, free: 19.86 MB / 378.7 MB Notification: Performance of SimCode: time 5.01e-07/0.373, allocations: 3.938 kB / 0.5372 GB, free: 19.86 MB / 378.7 MB Notification: Performance of Templates: time 0.009786/0.3828, allocations: 5.651 MB / 0.5428 GB, free: 19.41 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe 2>&1)