Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.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/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001815/0.001815, allocations: 181.5 kB / 16.13 MB, free: 5.559 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.458/1.458, allocations: 225.7 MB / 242.6 MB, free: 8.484 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.0007782/0.0007783, allocations: 94.17 kB / 293.8 MB, free: 9.512 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04266/0.04266, allocations: 8.106 MB / 353 MB, free: 14.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003243/0.0003244, allocations: 9.062 kB / 416.2 MB, free: 56.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1051, allocations: 52.53 MB / 468.7 MB, free: 3.574 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad): time 0.002563/0.1077, allocations: 1.837 MB / 470.6 MB, free: 1.734 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003425/0.1112, allocations: 2.458 MB / 473 MB, free: 15.06 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003768/0.1116, allocations: 7.938 kB / 473 MB, free: 15.05 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006626/0.1123, allocations: 139.4 kB / 473.2 MB, free: 14.91 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008914/0.1132, allocations: 183 kB / 473.3 MB, free: 14.73 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003938/0.1172, allocations: 2.64 MB / 476 MB, free: 11.72 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008755/0.118, allocations: 390 kB / 476.4 MB, free: 11.34 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003317/0.1184, allocations: 103.8 kB / 476.5 MB, free: 11.24 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003323/0.1187, allocations: 147.4 kB / 476.6 MB, free: 11.09 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004766/0.1192, allocations: 195.1 kB / 476.8 MB, free: 10.9 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.1193, allocations: 20 kB / 476.8 MB, free: 10.88 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008168/0.1202, allocations: 239.8 kB / 477.1 MB, free: 10.65 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.1203, allocations: 71.67 kB / 477.1 MB, free: 10.58 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002834/0.1206, allocations: 204.7 kB / 477.3 MB, free: 10.37 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001/0.1216, allocations: 0.557 MB / 477.9 MB, free: 9.812 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1216, allocations: 7.875 kB / 477.9 MB, free: 9.805 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.1216, allocations: 0 / 477.9 MB, free: 9.805 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1216, allocations: 0 / 477.9 MB, free: 9.805 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.006494/0.1281, allocations: 1.302 MB / 479.2 MB, free: 8.449 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.908e-05/0.1282, allocations: 8.031 kB / 479.2 MB, free: 8.441 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001887/0.1284, allocations: 44.47 kB / 479.2 MB, free: 8.398 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000577/0.129, allocations: 327.5 kB / 479.6 MB, free: 8.039 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.805e-05/0.1291, allocations: 28.88 kB / 479.6 MB, free: 8.012 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.498e-05/0.1292, allocations: 36.38 kB / 479.6 MB, free: 7.977 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.1302, allocations: 461 kB / 480.1 MB, free: 7.512 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.1303, allocations: 192 / 480.1 MB, free: 7.512 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.501e-05/0.1303, allocations: 23.94 kB / 480.1 MB, free: 7.488 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.1304, allocations: 11.98 kB / 480.1 MB, free: 7.477 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009146/0.1313, allocations: 418.1 kB / 480.5 MB, free: 7.066 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003636/0.1349, allocations: 2.025 MB / 482.5 MB, free: 4.82 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/0.1362, allocations: 0.5218 MB / 483.1 MB, free: 4.289 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000572/0.1368, allocations: 280.8 kB / 483.3 MB, free: 4.012 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.983e-05/0.1369, allocations: 11.98 kB / 483.4 MB, free: 4 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/0.1369, allocations: 42.55 kB / 483.4 MB, free: 3.949 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 1.522e-05/0.137, allocations: 4 kB / 483.4 MB, free: 3.945 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.009386/0.1464, allocations: 1.908 MB / 485.3 MB, free: 2.008 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.1465, allocations: 106.8 kB / 485.4 MB, free: 1.879 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004781/0.147, allocations: 274.9 kB / 485.7 MB, free: 1.598 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.887e-05/0.1471, allocations: 37.7 kB / 485.7 MB, free: 1.555 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.1473, allocations: 156.9 kB / 485.9 MB, free: 1.395 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001732/0.1475, allocations: 145.8 kB / 486 MB, free: 1.25 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.507e-05/0.1475, allocations: 12 kB / 486 MB, free: 1.238 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.1477, allocations: 346.8 kB / 486.4 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006411/0.1484, allocations: 293 kB / 486.6 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006961/0.1491, allocations: 340.6 kB / 487 MB, free: 268 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2703/0.4194, allocations: 0.6485 MB / 487.6 MB, free: 26.31 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.4194, allocations: 0 / 487.6 MB, free: 26.31 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.005111/0.4245, allocations: 1.274 MB / 488.9 MB, free: 26.2 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/0.4246, allocations: 6.25 kB / 488.9 MB, free: 26.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.4246, allocations: 0 / 488.9 MB, free: 26.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005054/0.4297, allocations: 0.7921 MB / 489.7 MB, free: 26.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005515/0.4302, allocations: 87.62 kB / 489.8 MB, free: 26.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009381/0.4396, allocations: 3.815 MB / 493.6 MB, free: 23.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006261/0.4403, allocations: 62.38 kB / 493.7 MB, free: 23.56 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.4404, allocations: 16.97 kB / 493.7 MB, free: 23.56 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * 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 {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0003065/0.4408, allocations: 160.8 kB / 493.8 MB, free: 23.41 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.4409, allocations: 32.69 kB / 493.9 MB, free: 23.39 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004773/0.4457, allocations: 1.217 MB / 495.1 MB, free: 22.9 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.4457, allocations: 5.5 kB / 495.1 MB, free: 22.9 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.4457, allocations: 0.75 kB / 495.1 MB, free: 22.9 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.4457, allocations: 3.219 kB / 495.1 MB, free: 22.9 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008296/0.4466, allocations: 0.5634 MB / 495.7 MB, free: 22.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/0.4466, allocations: 0 / 495.7 MB, free: 22.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002979/0.4469, allocations: 57.64 kB / 495.7 MB, free: 22.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004597/0.4515, allocations: 0.7592 MB / 496.5 MB, free: 22.4 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.2e-05/0.4516, allocations: 15.94 kB / 496.5 MB, free: 22.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00863/0.4602, allocations: 3.769 MB / 0.4885 GB, free: 19.84 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.4603, allocations: 3.938 kB / 0.4885 GB, free: 19.84 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004626/0.4649, allocations: 1.222 MB / 0.4897 GB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.4651, allocations: 117.5 kB / 0.4898 GB, free: 19.17 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.833e-05/0.4652, allocations: 11.67 kB / 0.4899 GB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005288/0.4657, allocations: 29.98 kB / 0.4899 GB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002152/0.4659, allocations: 33.92 kB / 0.4899 GB, free: 19.15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.973e-05/0.466, allocations: 21.06 kB / 0.4899 GB, free: 19.14 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002628/0.4663, allocations: 186.6 kB / 0.4901 GB, free: 19.03 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4663, allocations: 4 kB / 0.4901 GB, free: 19.03 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001013/0.4673, allocations: 183.8 kB / 0.4903 GB, free: 19 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 35 * 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 {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000253/0.4676, allocations: 124.9 kB / 0.4904 GB, free: 18.9 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00327/0.4709, allocations: 1.035 MB / 0.4914 GB, free: 18.41 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.4709, allocations: 4 kB / 0.4914 GB, free: 18.41 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002346/0.4732, allocations: 0.6637 MB / 0.4921 GB, free: 18.09 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006108/0.4739, allocations: 39.28 kB / 0.4921 GB, free: 18.06 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/0.4759, allocations: 0.926 MB / 0.493 GB, free: 17.48 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00039/0.4763, allocations: 0.8025 MB / 0.4938 GB, free: 16.77 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002961/0.4766, allocations: 54.05 kB / 0.4939 GB, free: 16.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.4768, allocations: 36.89 kB / 0.4939 GB, free: 16.74 MB / 314.7 MB Notification: Performance of SimCode: time 2.625e-06/0.4768, allocations: 1.375 kB / 0.4939 GB, free: 16.74 MB / 314.7 MB Notification: Performance of Templates: time 0.02232/0.4991, allocations: 10.77 MB / 0.5044 GB, free: 10.23 MB / 314.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe 2>&1)