Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.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.MediumNetworks.DoubleNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork") translateModel(PowerSysPro.Examples.MediumNetworks.DoubleNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 182 kB / 16.13 MB, free: 5.23 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.393/1.393, 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.0007998/0.0008, allocations: 87.45 kB / 293.8 MB, free: 9.5 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.05269/0.05269, allocations: 8.103 MB / 353 MB, free: 14.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003014/0.0003014, allocations: 11.98 kB / 416.2 MB, free: 56.14 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08743/0.08775, allocations: 52.53 MB / 468.7 MB, free: 3.551 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.004427/0.09223, allocations: 5.044 MB / 473.8 MB, free: 14.49 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004439/0.0967, allocations: 3.108 MB / 476.9 MB, free: 11.16 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004414/0.09718, allocations: 20 kB / 476.9 MB, free: 11.14 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005994/0.09779, allocations: 262.7 kB / 477.2 MB, free: 10.89 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001206/0.09901, allocations: 0.54 MB / 477.7 MB, free: 10.34 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003184/0.1022, allocations: 2.858 MB / 480.6 MB, free: 7.113 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001482/0.1037, allocations: 1.237 MB / 481.8 MB, free: 5.871 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004785/0.1042, allocations: 346.3 kB / 482.1 MB, free: 5.52 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004502/0.1046, allocations: 485.8 kB / 482.6 MB, free: 5.043 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006947/0.1053, allocations: 0.6339 MB / 483.3 MB, free: 4.406 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.1055, allocations: 59.98 kB / 483.3 MB, free: 4.348 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006205/0.1061, allocations: 283.8 kB / 483.6 MB, free: 4.07 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001789/0.1063, allocations: 210.9 kB / 483.8 MB, free: 3.863 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004869/0.1068, allocations: 0.5767 MB / 484.4 MB, free: 3.277 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001238/0.108, allocations: 1.339 MB / 485.7 MB, free: 1.934 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.108, allocations: 4 kB / 485.7 MB, free: 1.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.108, allocations: 0 / 485.7 MB, free: 1.93 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.1081, allocations: 4 kB / 485.7 MB, free: 1.926 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.2097/0.3178, allocations: 2.961 MB / 488.7 MB, free: 25.68 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.3178, allocations: 9.406 kB / 488.7 MB, free: 25.68 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004826/0.3183, allocations: 134.6 kB / 488.8 MB, free: 25.62 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.3194, allocations: 0.6858 MB / 489.5 MB, free: 25.29 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.674e-05/0.3195, allocations: 71.94 kB / 489.6 MB, free: 25.29 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001939/0.3197, allocations: 96.91 kB / 489.7 MB, free: 25.29 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002323/0.3221, allocations: 1.336 MB / 491 MB, free: 24.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.3221, allocations: 0 / 491 MB, free: 24.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/0.3222, allocations: 43.72 kB / 491 MB, free: 24.79 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.713e-05/0.3222, allocations: 18.84 kB / 491.1 MB, free: 24.79 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002161/0.3244, allocations: 1.274 MB / 492.3 MB, free: 24.25 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006802/0.3312, allocations: 5.275 MB / 497.6 MB, free: 20.52 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002722/0.334, allocations: 3.105 MB / 0.489 GB, free: 18.08 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001281/0.3353, allocations: 0.972 MB / 0.4899 GB, free: 17.61 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001491/0.3354, allocations: 35.56 kB / 0.49 GB, free: 17.6 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.034e-05/0.3355, allocations: 58.36 kB / 0.49 GB, free: 17.54 MB / 314.7 MB Notification: Performance of pre-optimization done (n=147): time 4.739e-06/0.3355, allocations: 1.094 kB / 0.49 GB, free: 17.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=147): time 0.02529/0.3608, allocations: 7.043 MB / 0.4969 GB, free: 14.45 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.634e-05/0.3609, allocations: 123.2 kB / 0.497 GB, free: 14.32 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009585/0.3619, allocations: 0.6311 MB / 0.4976 GB, free: 13.94 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002247/0.3621, allocations: 64.58 kB / 0.4977 GB, free: 13.88 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002102/0.3623, allocations: 333 kB / 0.498 GB, free: 13.59 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003621/0.3627, allocations: 494.3 kB / 0.4985 GB, free: 13.17 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.861e-05/0.3628, allocations: 30.88 kB / 0.4985 GB, free: 13.15 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.363, allocations: 412.7 kB / 0.4989 GB, free: 12.76 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001251/0.3642, allocations: 0.854 MB / 0.4997 GB, free: 12.29 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001378/0.3656, allocations: 0.9753 MB / 0.5007 GB, free: 11.73 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002847/0.3685, allocations: 1.928 MB / 0.5026 GB, free: 10.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.3685, allocations: 3.938 kB / 0.5026 GB, free: 10.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.008613/0.3771, allocations: 3.809 MB / 0.5063 GB, free: 7.91 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.3771, allocations: 8 kB / 0.5063 GB, free: 7.902 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.3772, allocations: 3.984 kB / 0.5063 GB, free: 7.898 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00947/0.3866, allocations: 4.027 MB / 0.5102 GB, free: 3.871 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008735/0.3875, allocations: 235.6 kB / 0.5105 GB, free: 3.641 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01896/0.4065, allocations: 10.4 MB / 0.5206 GB, free: 9.133 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/0.4081, allocations: 134.5 kB / 0.5208 GB, free: 9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/0.4082, allocations: 51.98 kB / 0.5208 GB, free: 8.949 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 (135): * Single equations (assignments): 134 * 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 {(32,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0005813/0.4088, allocations: 269.6 kB / 0.5211 GB, free: 8.676 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002162/0.409, allocations: 110.7 kB / 0.5212 GB, free: 8.566 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009676/0.4187, allocations: 3.783 MB / 0.5249 GB, free: 4.766 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.06e-05/0.4188, allocations: 16 kB / 0.5249 GB, free: 4.75 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.4188, allocations: 0 / 0.5249 GB, free: 4.75 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.617e-05/0.4188, allocations: 7.969 kB / 0.5249 GB, free: 4.742 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01178/0.4306, allocations: 5.317 MB / 0.5301 GB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.454e-05/0.4307, allocations: 0 / 0.5301 GB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006231/0.4313, allocations: 179.7 kB / 0.5302 GB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01027/0.4416, allocations: 2.749 MB / 0.5329 GB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004044/0.4421, allocations: 31.98 kB / 0.533 GB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01941/0.4615, allocations: 10.21 MB / 0.5429 GB, free: 2.09 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4615, allocations: 0 / 0.5429 GB, free: 2.09 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009584/0.4711, allocations: 3.664 MB / 0.5465 GB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004473/0.4716, allocations: 199.4 kB / 0.5467 GB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001914/0.4718, allocations: 39.92 kB / 0.5467 GB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.4729, allocations: 107.8 kB / 0.5468 GB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005182/0.4734, allocations: 122.4 kB / 0.547 GB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/0.4735, allocations: 51.98 kB / 0.547 GB, free: 13.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005873/0.4741, allocations: 431 kB / 0.5474 GB, free: 13.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4741, allocations: 0 / 0.5474 GB, free: 13.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001531/0.4757, allocations: 0.5384 MB / 0.5479 GB, free: 12.92 MB / 362.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 (106): * Single equations (assignments): 105 * 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 {(32,32)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003228/0.476, allocations: 170.5 kB / 0.5481 GB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.007109/0.4831, allocations: 3.104 MB / 0.5511 GB, free: 9.637 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-05/0.4832, allocations: 0.6562 kB / 0.5511 GB, free: 9.637 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005598/0.4888, allocations: 2.047 MB / 0.5531 GB, free: 7.582 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/0.4899, allocations: 138.9 kB / 0.5533 GB, free: 7.445 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003954/0.4938, allocations: 2.611 MB / 0.5558 GB, free: 4.801 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007011/0.4945, allocations: 1.088 MB / 0.5569 GB, free: 3.68 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005675/0.4951, allocations: 155.5 kB / 0.557 GB, free: 3.523 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000213/0.4953, allocations: 83.41 kB / 0.5571 GB, free: 3.445 MB / 362.7 MB Notification: Performance of SimCode: time 7.61e-07/0.4954, allocations: 0 / 0.5571 GB, free: 3.445 MB / 362.7 MB Notification: Performance of Templates: time 0.0505/0.5459, allocations: 33.72 MB / 0.59 GB, free: 1.836 MB / 394.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.makefile (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.sim & ./PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe 2>&1)