Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.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.TwoSourcesOneLineThreeSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors") translateModel(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 178.8 kB / 16.12 MB, free: 5.145 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.469/1.469, allocations: 225.7 MB / 242.6 MB, free: 224 kB / 186.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.0007924/0.0007924, allocations: 90.2 kB / 293.8 MB, free: 12.86 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.05241/0.05241, allocations: 8.108 MB / 353 MB, free: 1.535 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003543/0.0003543, allocations: 8.562 kB / 416.2 MB, free: 89.16 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1015, allocations: 52.52 MB / 468.7 MB, free: 40.7 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors): time 0.001555/0.1032, allocations: 1.387 MB / 470.1 MB, free: 39.32 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.1047, allocations: 2.244 MB / 472.4 MB, free: 36.86 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.996e-05/0.1047, allocations: 4 kB / 472.4 MB, free: 36.85 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002738/0.105, allocations: 123.5 kB / 472.5 MB, free: 36.73 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001885/0.1052, allocations: 87.5 kB / 472.6 MB, free: 36.64 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001367/0.1066, allocations: 1.983 MB / 474.5 MB, free: 34.38 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000215/0.1068, allocations: 226.9 kB / 474.8 MB, free: 34.16 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.107, allocations: 99.28 kB / 474.9 MB, free: 34.05 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.995e-05/0.1071, allocations: 83.66 kB / 474.9 MB, free: 33.97 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.1072, allocations: 131.4 kB / 475.1 MB, free: 33.84 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.482e-05/0.1072, allocations: 12 kB / 475.1 MB, free: 33.83 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002714/0.1075, allocations: 191.8 kB / 475.3 MB, free: 33.64 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.139e-05/0.1076, allocations: 39.78 kB / 475.3 MB, free: 33.61 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.979e-05/0.1077, allocations: 133.1 kB / 475.4 MB, free: 33.47 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003451/0.108, allocations: 391 kB / 475.8 MB, free: 33.09 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.108, allocations: 0 / 475.8 MB, free: 33.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.108, allocations: 0 / 475.8 MB, free: 33.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.108, allocations: 0 / 475.8 MB, free: 33.09 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001739/0.1098, allocations: 0.7256 MB / 476.6 MB, free: 32.31 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.1098, allocations: 16.02 kB / 476.6 MB, free: 32.3 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.681e-05/0.1099, allocations: 24.66 kB / 476.6 MB, free: 32.27 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.1101, allocations: 236 kB / 476.8 MB, free: 32 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.1101, allocations: 20.88 kB / 476.8 MB, free: 31.98 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.332e-05/0.1101, allocations: 24.38 kB / 476.9 MB, free: 31.96 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004015/0.1105, allocations: 297.4 kB / 477.2 MB, free: 31.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.1106, allocations: 7.938 kB / 477.2 MB, free: 31.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.278e-05/0.1106, allocations: 8 kB / 477.2 MB, free: 31.65 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.1106, allocations: 8 kB / 477.2 MB, free: 31.64 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003453/0.111, allocations: 290.1 kB / 477.5 MB, free: 31.36 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.1121, allocations: 0.9085 MB / 478.4 MB, free: 30.39 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004232/0.1125, allocations: 282.5 kB / 478.6 MB, free: 30.11 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.1127, allocations: 128.8 kB / 478.8 MB, free: 29.98 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.051e-05/0.1127, allocations: 8.422 kB / 478.8 MB, free: 29.97 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.383e-05/0.1127, allocations: 34.56 kB / 478.8 MB, free: 29.93 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 1.232e-06/0.1127, allocations: 0 / 478.8 MB, free: 29.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.0009901/0.1137, allocations: 0.5203 MB / 479.3 MB, free: 29.38 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.113e-05/0.1138, allocations: 55.41 kB / 479.4 MB, free: 29.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.1139, allocations: 165.2 kB / 479.6 MB, free: 29.15 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.1139, allocations: 33.7 kB / 479.6 MB, free: 29.11 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.691e-05/0.114, allocations: 152.2 kB / 479.7 MB, free: 28.96 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.338e-05/0.114, allocations: 86.75 kB / 479.8 MB, free: 28.87 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.522e-05/0.114, allocations: 4 kB / 479.8 MB, free: 28.87 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.411e-05/0.1141, allocations: 326.8 kB / 480.1 MB, free: 28.54 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.1143, allocations: 131.8 kB / 480.3 MB, free: 28.41 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.1144, allocations: 128 kB / 480.4 MB, free: 28.29 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000313/0.1147, allocations: 285.3 kB / 480.7 MB, free: 28 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1147, allocations: 7.875 kB / 480.7 MB, free: 28 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005374/0.1153, allocations: 409.9 kB / 481.1 MB, free: 27.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.1153, allocations: 4 kB / 481.1 MB, free: 27.58 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1153, allocations: 0 / 481.1 MB, free: 27.58 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002568/0.1156, allocations: 56.81 kB / 481.1 MB, free: 27.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002483/0.1158, allocations: 59.91 kB / 481.2 MB, free: 27.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000979/0.1168, allocations: 1.44 MB / 482.6 MB, free: 25.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.117, allocations: 23.91 kB / 482.7 MB, free: 25.87 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.117, allocations: 11.98 kB / 482.7 MB, free: 25.86 MB / 330.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 (35): * Single equations (assignments): 34 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.1171, allocations: 141.8 kB / 482.8 MB, free: 25.71 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.623e-05/0.1172, allocations: 15.81 kB / 482.8 MB, free: 25.69 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005593/0.1177, allocations: 362.1 kB / 483.2 MB, free: 25.33 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1177, allocations: 0 / 483.2 MB, free: 25.33 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.1177, allocations: 0 / 483.2 MB, free: 25.33 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1178, allocations: 7.938 kB / 483.2 MB, free: 25.32 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002536/0.118, allocations: 357.3 kB / 483.5 MB, free: 24.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.118, allocations: 0 / 483.5 MB, free: 24.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.1182, allocations: 39.98 kB / 483.6 MB, free: 24.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001796/0.1184, allocations: 48.81 kB / 483.6 MB, free: 24.84 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.1184, allocations: 15.94 kB / 483.6 MB, free: 24.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008569/0.1193, allocations: 1.429 MB / 485.1 MB, free: 23.26 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1193, allocations: 3.938 kB / 485.1 MB, free: 23.26 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004546/0.1197, allocations: 410.9 kB / 485.5 MB, free: 22.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.619e-05/0.1198, allocations: 100.8 kB / 485.6 MB, free: 22.72 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.467e-05/0.1198, allocations: 4 kB / 485.6 MB, free: 22.72 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.1199, allocations: 8.094 kB / 485.6 MB, free: 22.71 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/0.12, allocations: 11.98 kB / 485.6 MB, free: 22.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.12, allocations: 8 kB / 485.6 MB, free: 22.69 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001008/0.1201, allocations: 133.9 kB / 485.7 MB, free: 22.56 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1201, allocations: 0 / 485.7 MB, free: 22.56 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003204/0.1205, allocations: 83.84 kB / 485.8 MB, free: 22.48 MB / 330.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 (25): * Single equations (assignments): 24 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001648/0.1206, allocations: 119.2 kB / 485.9 MB, free: 22.35 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006287/0.1213, allocations: 422.4 kB / 486.3 MB, free: 21.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1213, allocations: 7.938 kB / 486.4 MB, free: 21.92 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003421/0.1216, allocations: 250.6 kB / 486.6 MB, free: 21.66 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/0.1219, allocations: 12 kB / 486.6 MB, free: 21.65 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006853/0.1226, allocations: 0.574 MB / 487.2 MB, free: 21.05 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/0.1227, allocations: 0.7398 MB / 487.9 MB, free: 20.29 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001211/0.1228, allocations: 33.52 kB / 488 MB, free: 20.25 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.89e-05/0.1229, allocations: 23.42 kB / 488 MB, free: 20.23 MB / 330.7 MB Notification: Performance of SimCode: time 3.31e-07/0.1229, allocations: 0 / 488 MB, free: 20.23 MB / 330.7 MB Notification: Performance of Templates: time 0.004556/0.1275, allocations: 2.548 MB / 490.5 MB, free: 17.68 MB / 330.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.makefile (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.sim & ./PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe 2>&1)