Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.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.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009832/0.0009834, allocations: 178.3 kB / 16.71 MB, free: 5.09 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.398/1.398, allocations: 225.7 MB / 243.2 MB, free: 8.445 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.0009065/0.0009065, allocations: 94.83 kB / 294.4 MB, free: 9.484 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.3493/0.3493, allocations: 38.12 MB / 383.6 MB, free: 40.39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003403, allocations: 11.98 kB / 453.5 MB, free: 8.789 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3123, allocations: 59.14 MB / 0.5006 GB, free: 38.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.004709/0.3171, allocations: 4.719 MB / 0.5052 GB, free: 38.33 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002265/0.3194, allocations: 2.137 MB / 0.5073 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000249/0.3197, allocations: 22.94 kB / 0.5073 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003618/0.32, allocations: 84.56 kB / 0.5074 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00051/0.3205, allocations: 223 kB / 0.5076 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003856/0.3209, allocations: 155.4 kB / 0.5078 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008153/0.3218, allocations: 0.8345 MB / 0.5086 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008154/0.3226, allocations: 0.7588 MB / 0.5093 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003326/0.3229, allocations: 215.8 kB / 0.5095 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000465/0.3234, allocations: 274.1 kB / 0.5098 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.478e-05/0.3235, allocations: 16.5 kB / 0.5098 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002711/0.3237, allocations: 126.2 kB / 0.5099 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001893/0.3239, allocations: 167.8 kB / 0.5101 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001972/0.3242, allocations: 221.8 kB / 0.5103 GB, free: 35.04 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005571/0.3247, allocations: 0.4957 MB / 0.5108 GB, free: 34.89 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3247, allocations: 0 / 0.5108 GB, free: 34.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3247, allocations: 2.438 kB / 0.5108 GB, free: 34.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.3248, allocations: 1.219 kB / 0.5108 GB, free: 34.89 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0008838/0.3256, allocations: 0.623 MB / 0.5114 GB, free: 34.37 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.3257, allocations: 10.09 kB / 0.5114 GB, free: 34.37 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005343/0.3262, allocations: 85.05 kB / 0.5115 GB, free: 34.35 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005257/0.3268, allocations: 393.3 kB / 0.5118 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.3268, allocations: 29.19 kB / 0.5119 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.3269, allocations: 52.39 kB / 0.5119 GB, free: 34.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006015/0.3275, allocations: 476.4 kB / 0.5124 GB, free: 33.79 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.3276, allocations: 0 / 0.5124 GB, free: 33.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.323e-05/0.3276, allocations: 10.97 kB / 0.5124 GB, free: 33.78 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001193/0.3277, allocations: 32.45 kB / 0.5124 GB, free: 33.78 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004432/0.3282, allocations: 331.2 kB / 0.5127 GB, free: 33.67 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001663/0.3298, allocations: 1.708 MB / 0.5144 GB, free: 32.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000232/0.3301, allocations: 157.2 kB / 0.5146 GB, free: 32.36 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.3302, allocations: 102.2 kB / 0.5147 GB, free: 32.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.3302, allocations: 6.594 kB / 0.5147 GB, free: 32.31 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.3303, allocations: 34.5 kB / 0.5147 GB, free: 32.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 1.984e-06/0.3303, allocations: 2.594 kB / 0.5147 GB, free: 32.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.001181/0.3315, allocations: 0.8559 MB / 0.5155 GB, free: 31.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.3315, allocations: 87.98 kB / 0.5156 GB, free: 31.56 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002923/0.3318, allocations: 300.1 kB / 0.5159 GB, free: 31.4 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.3318, allocations: 26.67 kB / 0.5159 GB, free: 31.37 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.332, allocations: 256.5 kB / 0.5162 GB, free: 31.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.047e-05/0.332, allocations: 58.16 kB / 0.5162 GB, free: 31.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.324e-05/0.332, allocations: 9.219 kB / 0.5162 GB, free: 31.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.402e-05/0.3321, allocations: 344 kB / 0.5166 GB, free: 30.78 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.3322, allocations: 91.16 kB / 0.5167 GB, free: 30.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.3324, allocations: 194.1 kB / 0.5168 GB, free: 30.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002889/0.3327, allocations: 311.7 kB / 0.5171 GB, free: 30.37 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3327, allocations: 0 / 0.5171 GB, free: 30.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006797/0.3334, allocations: 453 kB / 0.5176 GB, free: 30.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.3334, allocations: 7.938 kB / 0.5176 GB, free: 30.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005146/0.3339, allocations: 292.9 kB / 0.5179 GB, free: 30.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004236/0.3344, allocations: 127 kB / 0.518 GB, free: 30.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/0.3346, allocations: 59.83 kB / 0.518 GB, free: 30.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001982/0.3366, allocations: 2.144 MB / 0.5201 GB, free: 28.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.3367, allocations: 12.61 kB / 0.5201 GB, free: 28.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.3368, allocations: 13.36 kB / 0.5201 GB, free: 28.35 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): 28 * 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 {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001649/0.3369, allocations: 197.2 kB / 0.5203 GB, free: 28.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.29e-05/0.337, allocations: 29.17 kB / 0.5204 GB, free: 28.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000333/0.3373, allocations: 248.5 kB / 0.5206 GB, free: 28.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3373, allocations: 2.938 kB / 0.5206 GB, free: 28.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.3373, allocations: 0 / 0.5206 GB, free: 28.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.3373, allocations: 9.281 kB / 0.5206 GB, free: 28.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009006/0.3383, allocations: 0.7228 MB / 0.5213 GB, free: 27.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3383, allocations: 3.938 kB / 0.5213 GB, free: 27.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/0.3385, allocations: 36.34 kB / 0.5214 GB, free: 27.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.509e-05/0.3386, allocations: 28.36 kB / 0.5214 GB, free: 27.55 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.3386, allocations: 7.484 kB / 0.5214 GB, free: 27.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007258/0.3393, allocations: 1.482 MB / 0.5228 GB, free: 26.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.3393, allocations: 0 / 0.5228 GB, free: 26.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004021/0.3397, allocations: 431.7 kB / 0.5233 GB, free: 25.87 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.624e-05/0.3398, allocations: 105.3 kB / 0.5234 GB, free: 25.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.653e-05/0.3398, allocations: 10.31 kB / 0.5234 GB, free: 25.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.34, allocations: 10.17 kB / 0.5234 GB, free: 25.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.34, allocations: 17.28 kB / 0.5234 GB, free: 25.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.3401, allocations: 9.938 kB / 0.5234 GB, free: 25.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001528/0.3402, allocations: 219.2 kB / 0.5236 GB, free: 25.61 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3402, allocations: 2.875 kB / 0.5236 GB, free: 25.61 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003911/0.3406, allocations: 82.16 kB / 0.5237 GB, free: 25.61 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.969e-05/0.3407, allocations: 107.3 kB / 0.5238 GB, free: 25.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005327/0.3413, allocations: 396.7 kB / 0.5242 GB, free: 25.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3413, allocations: 0 / 0.5242 GB, free: 25.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002419/0.3415, allocations: 230.3 kB / 0.5244 GB, free: 25.15 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.342, allocations: 59.05 kB / 0.5244 GB, free: 25.13 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.3431, allocations: 1.084 MB / 0.5255 GB, free: 24.42 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.3433, allocations: 0.8412 MB / 0.5263 GB, free: 23.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001696/0.3435, allocations: 61.98 kB / 0.5264 GB, free: 23.69 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.093e-05/0.3436, allocations: 25.28 kB / 0.5264 GB, free: 23.68 MB / 378.7 MB Notification: Performance of SimCode: time 3.81e-07/0.3436, allocations: 0 / 0.5264 GB, free: 23.68 MB / 378.7 MB Notification: Performance of Templates: time 0.006425/0.35, allocations: 3.695 MB / 0.53 GB, free: 23.41 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1)