Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneSource.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.Tests.OneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneSource") translateModel(PowerSysPro.Tests.OneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneSource") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 178.4 kB / 16.13 MB, free: 5.258 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.315/1.315, allocations: 225.7 MB / 242.6 MB, free: 8.441 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.0008273/0.0008274, allocations: 88.36 kB / 293.8 MB, free: 9.473 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.04861/0.04861, allocations: 8.099 MB / 353 MB, free: 14.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003186/0.0003186, allocations: 8 kB / 416.2 MB, free: 56.12 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09288/0.09321, allocations: 52.52 MB / 468.7 MB, free: 3.535 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneSource): time 0.001051/0.09432, allocations: 0.6339 MB / 469.4 MB, free: 2.906 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.09551, allocations: 1.745 MB / 471.1 MB, free: 1 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.862e-05/0.09556, allocations: 0 / 471.1 MB, free: 1 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002176/0.09579, allocations: 51.84 kB / 471.1 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.996e-05/0.0959, allocations: 23.84 kB / 471.2 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.249e-05/0.09597, allocations: 23.98 kB / 471.2 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.552e-05/0.09604, allocations: 47.78 kB / 471.2 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.09615, allocations: 23.98 kB / 471.3 MB, free: 0.832 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.88e-05/0.09618, allocations: 19.88 kB / 471.3 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.86e-05/0.09626, allocations: 27.84 kB / 471.3 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.09628, allocations: 0 / 471.3 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.09641, allocations: 55.98 kB / 471.4 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.64e-05/0.09643, allocations: 19.86 kB / 471.4 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.583e-05/0.09647, allocations: 45.58 kB / 471.4 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.09664, allocations: 103.9 kB / 471.5 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.09665, allocations: 0 / 471.5 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.09666, allocations: 0 / 471.5 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.09667, allocations: 0 / 471.5 MB, free: 0.5586 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004448/0.09712, allocations: 379.3 kB / 471.9 MB, free: 140 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.09716, allocations: 8.031 kB / 471.9 MB, free: 132 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.176e-05/0.0972, allocations: 8.844 kB / 471.9 MB, free: 124 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.09734, allocations: 164.4 kB / 472.1 MB, free: 15.92 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.09736, allocations: 4.375 kB / 472.1 MB, free: 15.92 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.09738, allocations: 8.375 kB / 472.1 MB, free: 15.91 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.09755, allocations: 82.14 kB / 472.2 MB, free: 15.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.09757, allocations: 4.125 kB / 472.2 MB, free: 15.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.09759, allocations: 11.94 kB / 472.2 MB, free: 15.81 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.0976, allocations: 0 / 472.2 MB, free: 15.81 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.928e-05/0.09769, allocations: 43.98 kB / 472.2 MB, free: 15.77 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004927/0.09819, allocations: 344.5 kB / 472.6 MB, free: 15.38 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.155e-05/0.09825, allocations: 26.58 kB / 472.6 MB, free: 15.34 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.783e-05/0.09828, allocations: 4.859 kB / 472.6 MB, free: 15.34 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000126/0.09841, allocations: 85.16 kB / 472.7 MB, free: 15.23 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.09845, allocations: 38.5 kB / 472.7 MB, free: 15.19 MB / 314.7 MB Notification: Performance of pre-optimization done (n=2): time 4.408e-06/0.09846, allocations: 4 kB / 472.7 MB, free: 15.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001519/0.09861, allocations: 45.58 kB / 472.8 MB, free: 15.13 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.09866, allocations: 59.33 kB / 472.8 MB, free: 15.06 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.09877, allocations: 125.8 kB / 472.9 MB, free: 14.93 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.09879, allocations: 25.7 kB / 473 MB, free: 14.9 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.671e-05/0.09886, allocations: 107.9 kB / 473.1 MB, free: 14.79 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.783e-06/0.09887, allocations: 3.906 kB / 473.1 MB, free: 14.79 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-06/0.09888, allocations: 0 / 473.1 MB, free: 14.79 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.09901, allocations: 323 kB / 473.4 MB, free: 14.46 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.515e-05/0.09904, allocations: 11.98 kB / 473.4 MB, free: 14.45 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.096e-05/0.09907, allocations: 16 kB / 473.4 MB, free: 14.43 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.665e-05/0.09912, allocations: 20.86 kB / 473.4 MB, free: 14.41 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.09913, allocations: 0 / 473.4 MB, free: 14.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.501e-05/0.09923, allocations: 69.62 kB / 473.5 MB, free: 14.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.09925, allocations: 7.984 kB / 473.5 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.09926, allocations: 0 / 473.5 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.09928, allocations: 0 / 473.5 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.429e-05/0.09936, allocations: 15.94 kB / 473.5 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.09937, allocations: 0 / 473.5 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.665e-05/0.09942, allocations: 7.844 kB / 473.5 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.09944, allocations: 8 kB / 473.6 MB, free: 14.3 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.659e-05/0.09953, allocations: 113.8 kB / 473.7 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.321e-05/0.09956, allocations: 4 kB / 473.7 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.907e-05/0.09967, allocations: 49.12 kB / 473.7 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.09968, allocations: 3.938 kB / 473.7 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.09969, allocations: 0 / 473.7 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.0997, allocations: 8.016 kB / 473.7 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.09988, allocations: 169.7 kB / 473.9 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.09989, allocations: 0 / 473.9 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.249e-05/0.09992, allocations: 4 kB / 473.9 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.09992, allocations: 0 / 473.9 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.09993, allocations: 0 / 473.9 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.09994, allocations: 3.938 kB / 473.9 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.09995, allocations: 0 / 473.9 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001132/0.1001, allocations: 147.5 kB / 474 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.812e-05/0.1001, allocations: 81.2 kB / 474.1 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.1001, allocations: 4 kB / 474.1 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6e-05/0.1002, allocations: 11.88 kB / 474.1 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.093e-05/0.1002, allocations: 0 / 474.1 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.1002, allocations: 3.984 kB / 474.1 MB, free: 13.6 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.878e-05/0.1003, allocations: 91.28 kB / 474.2 MB, free: 13.51 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1003, allocations: 3.938 kB / 474.2 MB, free: 13.51 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002073/0.1005, allocations: 12 kB / 474.2 MB, free: 13.5 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001551/0.1007, allocations: 119.8 kB / 474.4 MB, free: 13.37 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.596e-05/0.1008, allocations: 20 kB / 474.4 MB, free: 13.35 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.1008, allocations: 0 / 474.4 MB, free: 13.35 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.545e-05/0.1008, allocations: 11.92 kB / 474.4 MB, free: 13.34 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.101, allocations: 4 kB / 474.4 MB, free: 13.34 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003343/0.1014, allocations: 182.6 kB / 474.6 MB, free: 13.13 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.1016, allocations: 0.6848 MB / 475.3 MB, free: 12.42 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.11e-05/0.1017, allocations: 7.891 kB / 475.3 MB, free: 12.41 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.814e-05/0.1017, allocations: 11.44 kB / 475.3 MB, free: 12.4 MB / 314.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1017, allocations: 4 kB / 475.3 MB, free: 12.4 MB / 314.7 MB Notification: Performance of Templates: time 0.002502/0.1042, allocations: 0.528 MB / 475.8 MB, free: 11.87 MB / 314.7 MB make -j1 -f PowerSysPro_PowerSysPro.Tests.OneSource.makefile (rm -f PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneSource.sim & ./PowerSysPro_PowerSysPro.Tests.OneSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.OneSource.pipe 2>&1)