Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.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.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009971/0.0009972, allocations: 179.7 kB / 16.71 MB, free: 4.938 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.429/1.429, 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.0008235/0.0008235, allocations: 95.62 kB / 294.4 MB, free: 9.496 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.296/0.296, allocations: 38.12 MB / 383.6 MB, free: 40.4 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003369/0.000337, allocations: 12 kB / 453.5 MB, free: 8.762 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3636, allocations: 59.14 MB / 0.5006 GB, free: 38.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.006261/0.3699, allocations: 5.368 MB / 0.5058 GB, free: 37.94 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002701/0.3727, allocations: 1.605 MB / 0.5074 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004545/0.3732, allocations: 27.12 kB / 0.5074 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003677/0.3735, allocations: 74.36 kB / 0.5075 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008094/0.3744, allocations: 287.6 kB / 0.5078 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003931/0.3748, allocations: 130.6 kB / 0.5079 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001255/0.376, allocations: 1.086 MB / 0.509 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002989/0.3764, allocations: 159.4 kB / 0.5091 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004699/0.3768, allocations: 268.6 kB / 0.5094 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006149/0.3775, allocations: 356.5 kB / 0.5097 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.971e-05/0.3775, allocations: 20.44 kB / 0.5097 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.703e-05/0.3776, allocations: 19.5 kB / 0.5098 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002378/0.3779, allocations: 180.8 kB / 0.5099 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002536/0.3781, allocations: 267.3 kB / 0.5102 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005124/0.3786, allocations: 0.5175 MB / 0.5107 GB, free: 35.37 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3787, allocations: 1.219 kB / 0.5107 GB, free: 35.37 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3787, allocations: 0 / 0.5107 GB, free: 35.37 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.3787, allocations: 0 / 0.5107 GB, free: 35.37 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.001285/0.38, allocations: 0.7549 MB / 0.5114 GB, free: 34.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.38, allocations: 11.12 kB / 0.5114 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.238e-05/0.3801, allocations: 52.97 kB / 0.5115 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005195/0.3807, allocations: 428.3 kB / 0.5119 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.687e-05/0.3807, allocations: 31.62 kB / 0.5119 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.03e-05/0.3808, allocations: 40.62 kB / 0.512 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006376/0.3814, allocations: 482.6 kB / 0.5124 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.3814, allocations: 5.375 kB / 0.5124 GB, free: 34.19 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.957e-05/0.3815, allocations: 14.69 kB / 0.5124 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001017/0.3816, allocations: 26.19 kB / 0.5125 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005336/0.3821, allocations: 365.3 kB / 0.5128 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001951/0.3841, allocations: 1.723 MB / 0.5145 GB, free: 32.88 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005416/0.3846, allocations: 406.1 kB / 0.5149 GB, free: 32.64 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000407/0.3851, allocations: 213.4 kB / 0.5151 GB, free: 32.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.3851, allocations: 3.219 kB / 0.5151 GB, free: 32.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003976/0.3855, allocations: 288.9 kB / 0.5154 GB, free: 32.4 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 1.944e-06/0.3855, allocations: 0 / 0.5154 GB, free: 32.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.00214/0.3877, allocations: 1.404 MB / 0.5167 GB, free: 31.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.475e-05/0.3877, allocations: 138.9 kB / 0.5169 GB, free: 31.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000375/0.3881, allocations: 367.2 kB / 0.5172 GB, free: 31.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.3882, allocations: 33.11 kB / 0.5173 GB, free: 31.08 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.3883, allocations: 263.3 kB / 0.5175 GB, free: 30.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.353e-05/0.3884, allocations: 107.3 kB / 0.5176 GB, free: 30.78 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.859e-05/0.3884, allocations: 10.22 kB / 0.5176 GB, free: 30.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.468e-05/0.3885, allocations: 354.1 kB / 0.518 GB, free: 30.44 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000226/0.3887, allocations: 136.6 kB / 0.5181 GB, free: 30.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002442/0.389, allocations: 256.3 kB / 0.5183 GB, free: 30.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000417/0.3894, allocations: 451.8 kB / 0.5188 GB, free: 29.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3894, allocations: 3 kB / 0.5188 GB, free: 29.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000691/0.3901, allocations: 0.5432 MB / 0.5193 GB, free: 29.6 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.993e-05/0.3901, allocations: 35.77 kB / 0.5193 GB, free: 29.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.3902, allocations: 3 kB / 0.5193 GB, free: 29.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002598/0.3904, allocations: 78.02 kB / 0.5194 GB, free: 29.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002734/0.3907, allocations: 74.75 kB / 0.5195 GB, free: 29.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/0.3924, allocations: 2.796 MB / 0.5222 GB, free: 26.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002773/0.3927, allocations: 29.78 kB / 0.5222 GB, free: 26.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.887e-05/0.3927, allocations: 19.17 kB / 0.5223 GB, free: 26.83 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 18 (system.initime,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.relay.y[1],relay.y[1],$PRE.breaker.breaker_1.arc,breaker.breaker_1.arc,$PRE.breaker.breaker_1.open,breaker.breaker_1.open,breaker.breaker_1.closed,$PRE.breaker.breaker_1.t0,breaker.breaker_1.t0,breaker.breaker_1.opening,$whenCondition1,$PRE.relay.cnt,relay.cnt) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002481/0.393, allocations: 243.9 kB / 0.5225 GB, free: 26.63 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.129e-05/0.3931, allocations: 44.42 kB / 0.5225 GB, free: 26.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007769/0.3938, allocations: 0.4961 MB / 0.523 GB, free: 26.37 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.3939, allocations: 6.875 kB / 0.523 GB, free: 26.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3939, allocations: 11.05 kB / 0.523 GB, free: 26.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3939, allocations: 3.422 kB / 0.523 GB, free: 26.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/0.3952, allocations: 1.041 MB / 0.524 GB, free: 25.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3952, allocations: 0 / 0.524 GB, free: 25.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/0.3954, allocations: 46.17 kB / 0.5241 GB, free: 25.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002122/0.3956, allocations: 89.73 kB / 0.5242 GB, free: 25.72 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.067e-05/0.3956, allocations: 13.47 kB / 0.5242 GB, free: 25.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001411/0.397, allocations: 2.799 MB / 0.5269 GB, free: 23.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3971, allocations: 0 / 0.5269 GB, free: 23.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009024/0.398, allocations: 0.7755 MB / 0.5277 GB, free: 22.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.782e-05/0.398, allocations: 116.6 kB / 0.5278 GB, free: 22.49 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.825e-05/0.3981, allocations: 13.05 kB / 0.5278 GB, free: 22.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.3983, allocations: 22.83 kB / 0.5278 GB, free: 22.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.177e-05/0.3984, allocations: 38.05 kB / 0.5279 GB, free: 22.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.84e-05/0.3985, allocations: 11.53 kB / 0.5279 GB, free: 22.47 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002224/0.3987, allocations: 254.3 kB / 0.5281 GB, free: 22.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.3987, allocations: 0 / 0.5281 GB, free: 22.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005213/0.3992, allocations: 124.9 kB / 0.5282 GB, free: 22.32 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * Number of discrete variables: 13 (breaker.breaker_1.closed,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,relay.y[1],relay.cnt,breaker.breaker_1.arc,breaker.breaker_1.open,breaker.breaker_1.t0,breaker.breaker_1.opening,system.initime) * Number of discrete states: 5 (breaker.breaker_1.arc,relay.y[1],relay.cnt,$whenCondition1,breaker.breaker_1.open) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001419/0.3994, allocations: 124.4 kB / 0.5284 GB, free: 22.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008759/0.4003, allocations: 0.6506 MB / 0.529 GB, free: 21.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.4003, allocations: 0 / 0.529 GB, free: 21.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005453/0.4008, allocations: 498.8 kB / 0.5295 GB, free: 21.45 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005616/0.4014, allocations: 95.28 kB / 0.5296 GB, free: 21.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.4029, allocations: 1.218 MB / 0.5307 GB, free: 20.67 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.4032, allocations: 0.8654 MB / 0.5316 GB, free: 19.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002481/0.4035, allocations: 74.09 kB / 0.5317 GB, free: 19.94 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.806e-05/0.4036, allocations: 38.53 kB / 0.5317 GB, free: 19.93 MB / 378.7 MB Notification: Performance of SimCode: time 4.21e-07/0.4036, allocations: 0 / 0.5317 GB, free: 19.93 MB / 378.7 MB Notification: Performance of Templates: time 0.008954/0.4126, allocations: 4.979 MB / 0.5366 GB, free: 19.6 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe 2>&1)