Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.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.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad") translateModel(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 182.2 kB / 16.13 MB, free: 5.262 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.363/1.363, allocations: 225.7 MB / 242.6 MB, free: 8.461 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.0008396/0.0008396, allocations: 102 kB / 293.8 MB, free: 9.484 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.04804/0.04804, allocations: 8.098 MB / 353 MB, free: 14.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004053/0.0004051, allocations: 13.78 kB / 416.2 MB, free: 56.14 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1058, allocations: 52.53 MB / 468.7 MB, free: 3.547 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad): time 0.001578/0.1074, allocations: 1.288 MB / 470 MB, free: 2.258 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001842/0.1093, allocations: 2.353 MB / 472.4 MB, free: 15.69 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.812e-05/0.1094, allocations: 4 kB / 472.4 MB, free: 15.68 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000342/0.1097, allocations: 107.6 kB / 472.5 MB, free: 15.58 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002944/0.11, allocations: 119.3 kB / 472.6 MB, free: 15.46 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002032/0.1121, allocations: 1.979 MB / 474.6 MB, free: 13.2 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003459/0.1124, allocations: 250.7 kB / 474.8 MB, free: 12.96 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.1126, allocations: 76.47 kB / 474.9 MB, free: 12.87 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.1127, allocations: 99.58 kB / 475 MB, free: 12.77 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.1129, allocations: 123.5 kB / 475.1 MB, free: 12.65 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.124e-05/0.113, allocations: 12 kB / 475.1 MB, free: 12.64 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003326/0.1133, allocations: 199.7 kB / 475.3 MB, free: 12.45 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.47e-05/0.1134, allocations: 39.83 kB / 475.4 MB, free: 12.41 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.1135, allocations: 141 kB / 475.5 MB, free: 12.26 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004658/0.114, allocations: 399 kB / 475.9 MB, free: 11.87 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.114, allocations: 0 / 475.9 MB, free: 11.87 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.114, allocations: 0 / 475.9 MB, free: 11.87 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.114, allocations: 0 / 475.9 MB, free: 11.87 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.002301/0.1163, allocations: 0.8111 MB / 476.7 MB, free: 11.01 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.1163, allocations: 12.03 kB / 476.7 MB, free: 11 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.097e-05/0.1164, allocations: 24.66 kB / 476.7 MB, free: 10.97 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002975/0.1167, allocations: 256.7 kB / 477 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.1167, allocations: 20.81 kB / 477 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.155e-05/0.1168, allocations: 32.36 kB / 477 MB, free: 10.63 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004402/0.1173, allocations: 283.8 kB / 477.3 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.1173, allocations: 4.172 kB / 477.3 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.653e-05/0.1173, allocations: 7.938 kB / 477.3 MB, free: 10.33 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.1173, allocations: 7.938 kB / 477.3 MB, free: 10.32 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003994/0.1177, allocations: 285.6 kB / 477.6 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0015/0.1192, allocations: 1.039 MB / 478.7 MB, free: 8.918 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000914/0.1202, allocations: 463.8 kB / 479.1 MB, free: 8.438 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002484/0.1204, allocations: 172.8 kB / 479.3 MB, free: 8.266 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.313e-05/0.1205, allocations: 7.984 kB / 479.3 MB, free: 8.258 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.1205, allocations: 38.5 kB / 479.3 MB, free: 8.211 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 1.634e-06/0.1205, allocations: 0 / 479.3 MB, free: 8.211 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.002701/0.1232, allocations: 0.9511 MB / 480.3 MB, free: 7.234 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.903e-05/0.1233, allocations: 63.39 kB / 480.3 MB, free: 7.16 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.1236, allocations: 215.7 kB / 480.5 MB, free: 6.941 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/0.1236, allocations: 29.7 kB / 480.6 MB, free: 6.906 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.101e-05/0.1237, allocations: 148.6 kB / 480.7 MB, free: 6.758 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.586e-05/0.1238, allocations: 98.5 kB / 480.8 MB, free: 6.66 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.799e-05/0.1238, allocations: 7.938 kB / 480.8 MB, free: 6.652 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1239, allocations: 334.8 kB / 481.1 MB, free: 6.316 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002598/0.1242, allocations: 171.9 kB / 481.3 MB, free: 6.148 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002596/0.1245, allocations: 179.9 kB / 481.5 MB, free: 5.973 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005481/0.125, allocations: 384.8 kB / 481.9 MB, free: 5.594 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.125, allocations: 0 / 481.9 MB, free: 5.594 MB / 314.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001353/0.1264, allocations: 0.6546 MB / 482.5 MB, free: 4.93 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.1264, allocations: 15.94 kB / 482.5 MB, free: 4.914 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1264, allocations: 0 / 482.5 MB, free: 4.914 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/0.1275, allocations: 244.6 kB / 482.8 MB, free: 4.672 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.1277, allocations: 51.92 kB / 482.8 MB, free: 4.621 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003353/0.131, allocations: 2.5 MB / 485.3 MB, free: 1.988 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.1313, allocations: 35.67 kB / 485.4 MB, free: 1.953 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.896e-05/0.1313, allocations: 8 kB / 485.4 MB, free: 1.945 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 (32): * Single equations (assignments): 31 * 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 {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.000144/0.1315, allocations: 153.7 kB / 485.5 MB, free: 1.785 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.867e-05/0.1315, allocations: 19.72 kB / 485.5 MB, free: 1.766 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001338/0.1329, allocations: 0.612 MB / 486.2 MB, free: 1.148 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.1329, allocations: 0 / 486.2 MB, free: 1.148 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.1329, allocations: 4 kB / 486.2 MB, free: 1.145 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.1329, allocations: 3.984 kB / 486.2 MB, free: 1.141 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001697/0.1346, allocations: 1.054 MB / 487.2 MB, free: 28 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.1346, allocations: 0 / 487.2 MB, free: 28 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1957/0.3303, allocations: 28.58 kB / 487.2 MB, free: 26.74 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001152/0.3315, allocations: 239.1 kB / 487.5 MB, free: 26.73 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.503e-05/0.3316, allocations: 7.266 kB / 487.5 MB, free: 26.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003227/0.3348, allocations: 2.463 MB / 489.9 MB, free: 25.49 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3348, allocations: 0 / 489.9 MB, free: 25.49 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/0.3363, allocations: 0.6524 MB / 490.6 MB, free: 25.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.955e-05/0.3364, allocations: 104.9 kB / 490.7 MB, free: 25.06 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/0.3364, allocations: 7.875 kB / 490.7 MB, free: 25.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/0.3367, allocations: 21.2 kB / 490.7 MB, free: 25.05 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.377e-05/0.3367, allocations: 23.64 kB / 490.8 MB, free: 25.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-05/0.3368, allocations: 11.56 kB / 490.8 MB, free: 25.04 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001935/0.337, allocations: 164.3 kB / 490.9 MB, free: 24.93 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.337, allocations: 0 / 490.9 MB, free: 24.93 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005053/0.3375, allocations: 109.3 kB / 491 MB, free: 24.92 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 (20): * Single equations (assignments): 19 * 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 {(3,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002101/0.3377, allocations: 125.4 kB / 491.2 MB, free: 24.82 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001298/0.339, allocations: 0.6098 MB / 491.8 MB, free: 24.52 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.339, allocations: 4.375 kB / 491.8 MB, free: 24.52 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007783/0.3398, allocations: 391.6 kB / 492.1 MB, free: 24.29 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.3402, allocations: 35.69 kB / 492.2 MB, free: 24.28 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009307/0.3411, allocations: 0.6184 MB / 492.8 MB, free: 23.89 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/0.3413, allocations: 0.7545 MB / 493.6 MB, free: 23.18 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001287/0.3415, allocations: 33.14 kB / 493.6 MB, free: 23.18 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.148e-05/0.3415, allocations: 22.06 kB / 493.6 MB, free: 23.17 MB / 314.7 MB Notification: Performance of SimCode: time 9.41e-07/0.3415, allocations: 0 / 493.6 MB, free: 23.17 MB / 314.7 MB Notification: Performance of Templates: time 0.01206/0.3536, allocations: 5.906 MB / 499.5 MB, free: 22.45 MB / 314.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe 2>&1)