Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.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.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 180 kB / 16.71 MB, free: 5.074 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.332/1.332, allocations: 225.7 MB / 243.2 MB, free: 10.17 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.0008512/0.0008514, allocations: 94.16 kB / 294.4 MB, free: 9.695 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.2979/0.2979, allocations: 38.13 MB / 383.6 MB, free: 40.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005731/0.0005732, allocations: 8 kB / 453.5 MB, free: 8.766 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3692, allocations: 59.13 MB / 0.5006 GB, free: 39.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.0058/0.375, allocations: 4.7 MB / 0.5052 GB, free: 38.61 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003213/0.3783, allocations: 2.121 MB / 0.5073 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000455/0.3788, allocations: 27.25 kB / 0.5073 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004131/0.3792, allocations: 82.84 kB / 0.5074 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006223/0.3799, allocations: 231.2 kB / 0.5076 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004442/0.3803, allocations: 149.6 kB / 0.5077 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009367/0.3813, allocations: 0.8549 MB / 0.5086 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000902/0.3822, allocations: 0.7641 MB / 0.5093 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003914/0.3826, allocations: 212.3 kB / 0.5095 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005179/0.3831, allocations: 278.8 kB / 0.5098 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.118e-05/0.3832, allocations: 15.88 kB / 0.5098 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002938/0.3835, allocations: 121.6 kB / 0.5099 GB, free: 35.47 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002104/0.3837, allocations: 186.5 kB / 0.5101 GB, free: 35.41 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002063/0.3839, allocations: 223 kB / 0.5103 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005775/0.3845, allocations: 0.494 MB / 0.5108 GB, free: 35.12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3845, allocations: 0 / 0.5108 GB, free: 35.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.265e-06/0.3845, allocations: 1.625 kB / 0.5108 GB, free: 35.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.3845, allocations: 0 / 0.5108 GB, free: 35.12 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.0009422/0.3855, allocations: 0.6328 MB / 0.5114 GB, free: 34.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.3855, allocations: 10.12 kB / 0.5114 GB, free: 34.6 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005336/0.3861, allocations: 80.72 kB / 0.5115 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000638/0.3867, allocations: 394.2 kB / 0.5119 GB, free: 34.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.404e-05/0.3868, allocations: 23.5 kB / 0.5119 GB, free: 34.28 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001566/0.3869, allocations: 51.38 kB / 0.5119 GB, free: 34.26 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007458/0.3877, allocations: 477.9 kB / 0.5124 GB, free: 34.03 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.3877, allocations: 2.531 kB / 0.5124 GB, free: 34.03 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.934e-05/0.3878, allocations: 11 kB / 0.5124 GB, free: 34.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001081/0.3879, allocations: 27.14 kB / 0.5124 GB, free: 34.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005041/0.3884, allocations: 352.6 kB / 0.5128 GB, free: 33.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002023/0.3904, allocations: 1.742 MB / 0.5145 GB, free: 32.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002694/0.3907, allocations: 156 kB / 0.5146 GB, free: 32.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001351/0.3908, allocations: 107.9 kB / 0.5147 GB, free: 32.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.3909, allocations: 10.59 kB / 0.5147 GB, free: 32.51 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.3909, allocations: 37.41 kB / 0.5148 GB, free: 32.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 2.525e-06/0.3909, allocations: 0 / 0.5148 GB, free: 32.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.001354/0.3923, allocations: 0.8885 MB / 0.5156 GB, free: 31.85 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.3923, allocations: 83.45 kB / 0.5157 GB, free: 31.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002559/0.3926, allocations: 301.4 kB / 0.516 GB, free: 31.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.3926, allocations: 29.7 kB / 0.516 GB, free: 31.56 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.3927, allocations: 255.8 kB / 0.5163 GB, free: 31.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.939e-05/0.3928, allocations: 62.86 kB / 0.5163 GB, free: 31.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.298e-05/0.3928, allocations: 8 kB / 0.5163 GB, free: 31.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.206e-05/0.3929, allocations: 348.1 kB / 0.5167 GB, free: 30.97 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.393, allocations: 98.44 kB / 0.5168 GB, free: 30.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/0.3932, allocations: 194 kB / 0.5169 GB, free: 30.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003174/0.3935, allocations: 325.9 kB / 0.5173 GB, free: 30.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3935, allocations: 0 / 0.5173 GB, free: 30.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007834/0.3943, allocations: 474.2 kB / 0.5177 GB, free: 30.35 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.3944, allocations: 6.031 kB / 0.5177 GB, free: 30.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005926/0.395, allocations: 324.7 kB / 0.518 GB, free: 30.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005116/0.3955, allocations: 130.5 kB / 0.5182 GB, free: 30.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/0.3957, allocations: 64.48 kB / 0.5182 GB, free: 30.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002154/0.3979, allocations: 2.182 MB / 0.5203 GB, free: 28.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000181/0.3981, allocations: 23.19 kB / 0.5204 GB, free: 28.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.3981, allocations: 12.75 kB / 0.5204 GB, free: 28.5 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.0001971/0.3983, allocations: 190.8 kB / 0.5206 GB, free: 28.35 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.678e-05/0.3984, allocations: 30.09 kB / 0.5206 GB, free: 28.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003647/0.3987, allocations: 258.5 kB / 0.5208 GB, free: 28.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.3987, allocations: 6.688 kB / 0.5208 GB, free: 28.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.746e-06/0.3988, allocations: 4 kB / 0.5208 GB, free: 28.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3988, allocations: 0 / 0.5208 GB, free: 28.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009342/0.3997, allocations: 0.7475 MB / 0.5216 GB, free: 27.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3997, allocations: 6.75 kB / 0.5216 GB, free: 27.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.3999, allocations: 34.98 kB / 0.5216 GB, free: 27.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001002/0.4, allocations: 42.97 kB / 0.5217 GB, free: 27.69 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.4001, allocations: 3.922 kB / 0.5217 GB, free: 27.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.4001, allocations: 3.938 kB / 0.5217 GB, free: 27.69 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4001, allocations: 3 kB / 0.5217 GB, free: 27.69 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004431/0.4005, allocations: 443.2 kB / 0.5221 GB, free: 27.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.191e-05/0.4006, allocations: 106 kB / 0.5222 GB, free: 27.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.901e-05/0.4006, allocations: 11.84 kB / 0.5222 GB, free: 27.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.4008, allocations: 5.375 kB / 0.5222 GB, free: 27.29 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.4008, allocations: 22.42 kB / 0.5222 GB, free: 27.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.4008, allocations: 6.75 kB / 0.5222 GB, free: 27.28 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002111/0.4011, allocations: 223.4 kB / 0.5224 GB, free: 27.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.4011, allocations: 0 / 0.5224 GB, free: 27.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000406/0.4015, allocations: 81.62 kB / 0.5225 GB, free: 27.16 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): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001001/0.4016, allocations: 107.5 kB / 0.5226 GB, free: 27.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006038/0.4022, allocations: 407.3 kB / 0.523 GB, free: 26.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4022, allocations: 3.938 kB / 0.523 GB, free: 26.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001623/0.4024, allocations: 183.5 kB / 0.5232 GB, free: 26.71 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004649/0.4028, allocations: 64 kB / 0.5233 GB, free: 26.69 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.4041, allocations: 1.081 MB / 0.5243 GB, free: 25.99 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.4043, allocations: 0.8347 MB / 0.5251 GB, free: 25.28 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001881/0.4045, allocations: 67.77 kB / 0.5252 GB, free: 25.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.694e-05/0.4046, allocations: 24.47 kB / 0.5252 GB, free: 25.26 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4046, allocations: 3.938 kB / 0.5252 GB, free: 25.25 MB / 378.7 MB Notification: Performance of Templates: time 0.007051/0.4117, allocations: 3.571 MB / 0.5287 GB, free: 24.99 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1)