Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.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.OneSourceOneLoadwithSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors") translateModel(PowerSysPro.Examples.OneSourceOneLoadwithSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001013/0.001018, allocations: 182.7 kB / 16.13 MB, free: 5.254 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.413/1.413, allocations: 225.7 MB / 242.6 MB, free: 10.18 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.0009811/0.0009814, allocations: 91.05 kB / 293.8 MB, free: 9.719 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.04762/0.04762, allocations: 8.107 MB / 353 MB, free: 14.41 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003064/0.0003063, allocations: 8 kB / 416.2 MB, free: 56.17 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08921/0.08953, allocations: 52.52 MB / 468.7 MB, free: 3.578 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadwithSensors): time 0.001483/0.09106, allocations: 1.34 MB / 470.1 MB, free: 2.238 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001449/0.09253, allocations: 1.988 MB / 472.1 MB, free: 72 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.937e-05/0.09261, allocations: 4 kB / 472.1 MB, free: 68 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002869/0.09291, allocations: 79.78 kB / 472.1 MB, free: 15.98 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002225/0.09314, allocations: 87.5 kB / 472.2 MB, free: 15.9 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.09415, allocations: 0.849 MB / 473.1 MB, free: 14.94 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002425/0.09441, allocations: 214.9 kB / 473.3 MB, free: 14.73 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002016/0.09461, allocations: 94.89 kB / 473.4 MB, free: 14.63 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.344e-05/0.09471, allocations: 87.64 kB / 473.5 MB, free: 14.55 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002375/0.09496, allocations: 131.4 kB / 473.6 MB, free: 14.42 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.086e-05/0.095, allocations: 12 kB / 473.6 MB, free: 14.41 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002308/0.09524, allocations: 107.9 kB / 473.7 MB, free: 14.3 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.78e-05/0.0953, allocations: 39.83 kB / 473.7 MB, free: 14.26 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.09543, allocations: 137 kB / 473.9 MB, free: 14.12 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004101/0.09585, allocations: 311.2 kB / 474.2 MB, free: 13.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.09586, allocations: 0 / 474.2 MB, free: 13.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.09587, allocations: 0 / 474.2 MB, free: 13.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.09588, allocations: 0 / 474.2 MB, free: 13.82 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001669/0.09756, allocations: 0.624 MB / 474.8 MB, free: 13.14 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.09761, allocations: 8.031 kB / 474.8 MB, free: 13.13 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.122e-05/0.09769, allocations: 28.66 kB / 474.8 MB, free: 13.11 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.09793, allocations: 204 kB / 475 MB, free: 12.87 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.09796, allocations: 12.94 kB / 475.1 MB, free: 12.86 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.858e-05/0.09801, allocations: 24.38 kB / 475.1 MB, free: 12.83 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004689/0.09849, allocations: 296 kB / 475.4 MB, free: 12.53 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.09851, allocations: 192 / 475.4 MB, free: 12.53 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.159e-05/0.09854, allocations: 15.94 kB / 475.4 MB, free: 12.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.09856, allocations: 4 kB / 475.4 MB, free: 12.51 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003705/0.09894, allocations: 238.9 kB / 475.6 MB, free: 12.28 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001471/0.1004, allocations: 0.9837 MB / 476.6 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007807/0.1012, allocations: 366.3 kB / 477 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.1014, allocations: 85.7 kB / 477 MB, free: 10.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.219e-05/0.1014, allocations: 12.11 kB / 477.1 MB, free: 10.73 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.1015, allocations: 38.56 kB / 477.1 MB, free: 10.69 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 1.303e-06/0.1015, allocations: 0 / 477.1 MB, free: 10.69 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.001165/0.1026, allocations: 0.5169 MB / 477.6 MB, free: 10.12 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/0.1027, allocations: 81.11 kB / 477.7 MB, free: 10.02 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.103, allocations: 196.9 kB / 477.9 MB, free: 9.816 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.103, allocations: 33.7 kB / 477.9 MB, free: 9.777 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.1031, allocations: 148 kB / 478.1 MB, free: 9.629 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.64e-05/0.1032, allocations: 74.89 kB / 478.1 MB, free: 9.555 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.385e-05/0.1032, allocations: 8 kB / 478.1 MB, free: 9.547 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.1033, allocations: 326.8 kB / 478.5 MB, free: 9.219 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.1035, allocations: 83.97 kB / 478.5 MB, free: 9.137 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.1036, allocations: 123.4 kB / 478.7 MB, free: 9.004 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002914/0.1039, allocations: 211.3 kB / 478.9 MB, free: 8.785 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.1039, allocations: 0 / 478.9 MB, free: 8.785 MB / 314.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006146/0.1045, allocations: 342.9 kB / 479.2 MB, free: 8.438 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.1046, allocations: 4 kB / 479.2 MB, free: 8.434 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.1046, allocations: 4 kB / 479.2 MB, free: 8.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004351/0.105, allocations: 73.66 kB / 479.3 MB, free: 8.352 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.1052, allocations: 43.91 kB / 479.3 MB, free: 8.309 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002268/0.1075, allocations: 2.682 MB / 482 MB, free: 5.359 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001602/0.1077, allocations: 23.94 kB / 482 MB, free: 5.336 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.424e-05/0.1077, allocations: 15.98 kB / 482.1 MB, free: 5.32 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001563/0.1079, allocations: 136.5 kB / 482.2 MB, free: 5.18 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.902e-05/0.1079, allocations: 23.69 kB / 482.2 MB, free: 5.156 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006091/0.1085, allocations: 293.4 kB / 482.5 MB, free: 4.863 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.1086, allocations: 96 / 482.5 MB, free: 4.863 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.1086, allocations: 7.938 kB / 482.5 MB, free: 4.855 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.1086, allocations: 0 / 482.5 MB, free: 4.855 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008019/0.1094, allocations: 0.5575 MB / 483.1 MB, free: 4.238 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.1094, allocations: 4 kB / 483.1 MB, free: 4.234 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.1095, allocations: 27.98 kB / 483.1 MB, free: 4.207 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002801/0.1098, allocations: 81.59 kB / 483.2 MB, free: 4.121 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.1098, allocations: 4 kB / 483.2 MB, free: 4.117 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002061/0.1119, allocations: 2.674 MB / 485.8 MB, free: 1.176 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1119, allocations: 0 / 485.8 MB, free: 1.176 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005809/0.1125, allocations: 431.1 kB / 486.3 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.313e-05/0.1126, allocations: 96.91 kB / 486.4 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.1126, allocations: 8 kB / 486.4 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/0.1128, allocations: 23.92 kB / 486.4 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.1129, allocations: 11.98 kB / 486.4 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.1129, allocations: 12 kB / 486.4 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001703/0.1131, allocations: 154.5 kB / 486.6 MB, free: 428 kB / 314.7 MB Notification: Performance of sort global known variables: time 1.503e-06/0.1131, allocations: 0 / 486.6 MB, free: 428 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003956/0.1135, allocations: 75.78 kB / 486.6 MB, free: 352 kB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (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.0001987/0.1137, allocations: 123.7 kB / 486.8 MB, free: 220 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.1951/0.3088, allocations: 438.2 kB / 487.2 MB, free: 26.33 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/0.3089, allocations: 0.9688 kB / 487.2 MB, free: 26.33 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004864/0.3094, allocations: 334.6 kB / 487.5 MB, free: 26.11 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006584/0.31, allocations: 29.14 kB / 487.5 MB, free: 26.11 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008929/0.3109, allocations: 0.5175 MB / 488.1 MB, free: 25.81 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.3112, allocations: 0.7441 MB / 488.8 MB, free: 25.11 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000148/0.3113, allocations: 31.58 kB / 488.8 MB, free: 25.11 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.665e-05/0.3114, allocations: 23.05 kB / 488.9 MB, free: 25.1 MB / 314.7 MB Notification: Performance of SimCode: time 9.02e-07/0.3114, allocations: 0 / 488.9 MB, free: 25.1 MB / 314.7 MB Notification: Performance of Templates: time 0.007656/0.3191, allocations: 2.901 MB / 491.8 MB, free: 24.98 MB / 314.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe 2>&1)