Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009748/0.0009796, allocations: 183 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.333/1.333, allocations: 225.7 MB / 243.2 MB, free: 8.496 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.0007726/0.0007727, allocations: 90.89 kB / 294.4 MB, free: 9.5 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.3339/0.3339, allocations: 38.12 MB / 383.6 MB, free: 40.38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003547/0.0003548, allocations: 8.219 kB / 453.5 MB, free: 8.762 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3523, allocations: 59.13 MB / 0.5006 GB, free: 38.91 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.005091/0.3575, allocations: 4.361 MB / 0.5049 GB, free: 38.47 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001879/0.3594, allocations: 1.317 MB / 0.5061 GB, free: 37.59 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002506/0.3597, allocations: 25.38 kB / 0.5062 GB, free: 37.57 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001992/0.3599, allocations: 43.31 kB / 0.5062 GB, free: 37.55 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000479/0.3604, allocations: 172.9 kB / 0.5064 GB, free: 37.46 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002289/0.3606, allocations: 92.5 kB / 0.5065 GB, free: 37.41 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007502/0.3614, allocations: 0.6303 MB / 0.5071 GB, free: 37.18 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002751/0.3616, allocations: 123.5 kB / 0.5072 GB, free: 37.15 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002933/0.3619, allocations: 178.8 kB / 0.5074 GB, free: 37.08 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004311/0.3624, allocations: 236.8 kB / 0.5076 GB, free: 37 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.637e-05/0.3624, allocations: 15.25 kB / 0.5076 GB, free: 37 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.132e-05/0.3625, allocations: 14.31 kB / 0.5076 GB, free: 37 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001494/0.3627, allocations: 104 kB / 0.5077 GB, free: 36.96 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002011/0.3629, allocations: 190.6 kB / 0.5079 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004369/0.3633, allocations: 349.4 kB / 0.5082 GB, free: 36.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3633, allocations: 3.344 kB / 0.5082 GB, free: 36.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.554e-06/0.3633, allocations: 0 / 0.5082 GB, free: 36.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.3634, allocations: 3.938 kB / 0.5082 GB, free: 36.72 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001177/0.3646, allocations: 0.6388 MB / 0.5089 GB, free: 36.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.3646, allocations: 9.594 kB / 0.5089 GB, free: 36.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.071e-05/0.3647, allocations: 39.52 kB / 0.5089 GB, free: 36.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00055/0.3652, allocations: 388.2 kB / 0.5093 GB, free: 35.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.116e-05/0.3653, allocations: 20.91 kB / 0.5093 GB, free: 35.92 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.02e-05/0.3654, allocations: 25.66 kB / 0.5093 GB, free: 35.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005876/0.366, allocations: 362.4 kB / 0.5097 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.366, allocations: 3.094 kB / 0.5097 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.013e-05/0.366, allocations: 10.16 kB / 0.5097 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.366, allocations: 7.031 kB / 0.5097 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004544/0.3665, allocations: 254.8 kB / 0.5099 GB, free: 35.63 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001565/0.3681, allocations: 1.449 MB / 0.5113 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.3683, allocations: 159.8 kB / 0.5115 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.806e-05/0.3684, allocations: 75.59 kB / 0.5116 GB, free: 34.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.3684, allocations: 6.844 kB / 0.5116 GB, free: 34.4 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.3685, allocations: 38.44 kB / 0.5116 GB, free: 34.35 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 1.613e-06/0.3685, allocations: 0 / 0.5116 GB, free: 34.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009477/0.3694, allocations: 0.6765 MB / 0.5123 GB, free: 33.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.3695, allocations: 80.11 kB / 0.5124 GB, free: 33.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/0.3697, allocations: 294.8 kB / 0.5126 GB, free: 33.65 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.3697, allocations: 29.7 kB / 0.5127 GB, free: 33.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.379e-05/0.3698, allocations: 223.2 kB / 0.5129 GB, free: 33.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.694e-05/0.3699, allocations: 52.02 kB / 0.5129 GB, free: 33.39 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.151e-05/0.3699, allocations: 6.531 kB / 0.5129 GB, free: 33.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.37, allocations: 348.8 kB / 0.5133 GB, free: 33.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.722e-05/0.3701, allocations: 62.27 kB / 0.5133 GB, free: 33.03 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.3703, allocations: 166 kB / 0.5135 GB, free: 32.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002618/0.3705, allocations: 260.4 kB / 0.5137 GB, free: 32.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3705, allocations: 0 / 0.5137 GB, free: 32.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003345/0.3709, allocations: 292.7 kB / 0.514 GB, free: 32.56 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.3709, allocations: 5.875 kB / 0.514 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.3709, allocations: 5.969 kB / 0.514 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.3709, allocations: 3.031 kB / 0.514 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/0.3712, allocations: 55.81 kB / 0.5141 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.3712, allocations: 14.23 kB / 0.5141 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.3714, allocations: 16.03 kB / 0.5141 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.3714, allocations: 12.78 kB / 0.5141 GB, free: 32.54 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 (29): * Single equations (assignments): 29 * 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.0001489/0.3716, allocations: 170.3 kB / 0.5143 GB, free: 32.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.591e-05/0.3716, allocations: 30.84 kB / 0.5143 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003565/0.372, allocations: 229.6 kB / 0.5145 GB, free: 32.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.372, allocations: 7.109 kB / 0.5145 GB, free: 32.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.372, allocations: 4 kB / 0.5145 GB, free: 32.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.372, allocations: 0 / 0.5145 GB, free: 32.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000631/0.3727, allocations: 0.6186 MB / 0.5151 GB, free: 31.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3727, allocations: 2.844 kB / 0.5151 GB, free: 31.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001894/0.3729, allocations: 47.08 kB / 0.5152 GB, free: 31.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.3729, allocations: 0 / 0.5152 GB, free: 31.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.3729, allocations: 3 kB / 0.5152 GB, free: 31.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3729, allocations: 0 / 0.5152 GB, free: 31.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3729, allocations: 2.844 kB / 0.5152 GB, free: 31.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004482/0.3734, allocations: 426.6 kB / 0.5156 GB, free: 31.58 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-05/0.3734, allocations: 105.9 kB / 0.5157 GB, free: 31.47 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.229e-05/0.3735, allocations: 5.875 kB / 0.5157 GB, free: 31.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.3736, allocations: 10.86 kB / 0.5157 GB, free: 31.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.3737, allocations: 13.67 kB / 0.5157 GB, free: 31.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.3737, allocations: 7.734 kB / 0.5157 GB, free: 31.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001999/0.3739, allocations: 211.5 kB / 0.5159 GB, free: 31.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3739, allocations: 0 / 0.5159 GB, free: 31.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00033/0.3742, allocations: 62.19 kB / 0.516 GB, free: 31.33 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (zLoadAC.psi) * 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 (20): * Single equations (assignments): 19 * 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 9.996e-05/0.3744, allocations: 105.9 kB / 0.5161 GB, free: 31.24 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002845/0.3746, allocations: 192.1 kB / 0.5163 GB, free: 31.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3747, allocations: 0 / 0.5163 GB, free: 31.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.3748, allocations: 91.94 kB / 0.5164 GB, free: 31.15 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004942/0.3753, allocations: 56.8 kB / 0.5164 GB, free: 31.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009703/0.3763, allocations: 0.8236 MB / 0.5172 GB, free: 30.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.3765, allocations: 0.8032 MB / 0.518 GB, free: 29.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001836/0.3767, allocations: 55.44 kB / 0.5181 GB, free: 29.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.338e-05/0.3768, allocations: 23.5 kB / 0.5181 GB, free: 29.87 MB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/0.3768, allocations: 0 / 0.5181 GB, free: 29.87 MB / 378.7 MB Notification: Performance of Templates: time 0.006148/0.3829, allocations: 2.815 MB / 0.5208 GB, free: 29.64 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe 2>&1)