Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.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.StructuredNetwork.DoubleNetworkWithLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads") translateModel(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 179.2 kB / 16.13 MB, free: 5.266 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.347/1.347, allocations: 225.7 MB / 242.6 MB, free: 8.445 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.0008378/0.0008377, allocations: 93.86 kB / 293.8 MB, free: 9.457 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.04455/0.04455, allocations: 8.106 MB / 353 MB, free: 14.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003101/0.0003101, allocations: 8 kB / 416.2 MB, free: 56.1 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09229/0.09262, allocations: 52.53 MB / 468.7 MB, free: 3.512 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads): time 0.004202/0.09687, allocations: 5.23 MB / 474 MB, free: 14.27 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004316/0.1012, allocations: 3.217 MB / 477.2 MB, free: 10.83 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004092/0.1017, allocations: 20 kB / 477.2 MB, free: 10.81 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005839/0.1023, allocations: 270.7 kB / 477.5 MB, free: 10.55 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001197/0.1035, allocations: 0.579 MB / 478 MB, free: 9.965 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003153/0.1066, allocations: 2.901 MB / 480.9 MB, free: 6.691 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001566/0.1082, allocations: 1.361 MB / 482.3 MB, free: 5.324 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005973/0.1088, allocations: 443.3 kB / 482.7 MB, free: 4.867 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005215/0.1093, allocations: 0.4901 MB / 483.2 MB, free: 4.375 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007314/0.1101, allocations: 0.6572 MB / 483.9 MB, free: 3.715 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.1102, allocations: 64 kB / 484 MB, free: 3.652 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006423/0.1109, allocations: 291.8 kB / 484.2 MB, free: 3.367 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000183/0.111, allocations: 222.9 kB / 484.5 MB, free: 3.148 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005587/0.1116, allocations: 0.6311 MB / 485.1 MB, free: 2.508 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001578/0.1132, allocations: 1.693 MB / 486.8 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1132, allocations: 0 / 486.8 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1132, allocations: 0 / 486.8 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.1132, allocations: 8 kB / 486.8 MB, free: 0.8008 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.2134/0.3267, allocations: 3.022 MB / 489.8 MB, free: 25.93 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.988e-05/0.3268, allocations: 9.438 kB / 489.8 MB, free: 25.93 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000683/0.3275, allocations: 136.5 kB / 490 MB, free: 25.86 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001509/0.329, allocations: 0.7815 MB / 490.7 MB, free: 25.46 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.749e-05/0.3291, allocations: 74.12 kB / 490.8 MB, free: 25.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001868/0.3293, allocations: 99.53 kB / 490.9 MB, free: 25.4 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003063/0.3323, allocations: 1.511 MB / 492.4 MB, free: 24.69 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.3324, allocations: 192 / 492.4 MB, free: 24.69 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001259/0.3325, allocations: 43.73 kB / 492.5 MB, free: 24.66 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.185e-05/0.3325, allocations: 20.62 kB / 492.5 MB, free: 24.66 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002591/0.3351, allocations: 1.466 MB / 493.9 MB, free: 23.99 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009591/0.3447, allocations: 6.056 MB / 500 MB, free: 19.71 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00334/0.3481, allocations: 3.751 MB / 0.4919 GB, free: 16.6 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001573/0.3497, allocations: 1.094 MB / 0.493 GB, free: 16.05 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001534/0.3499, allocations: 38.98 kB / 0.493 GB, free: 16.04 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.334e-05/0.3499, allocations: 52.02 kB / 0.4931 GB, free: 15.99 MB / 314.7 MB Notification: Performance of pre-optimization done (n=151): time 4.399e-06/0.35, allocations: 0 / 0.4931 GB, free: 15.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=151): time 0.02977/0.3797, allocations: 8.25 MB / 0.5012 GB, free: 11.42 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.67e-05/0.3798, allocations: 122.8 kB / 0.5013 GB, free: 11.29 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.3809, allocations: 0.6673 MB / 0.5019 GB, free: 10.88 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002448/0.3811, allocations: 64.17 kB / 0.502 GB, free: 10.82 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002293/0.3814, allocations: 343.1 kB / 0.5023 GB, free: 10.53 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003734/0.3817, allocations: 0.5013 MB / 0.5028 GB, free: 10.09 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.747e-05/0.3818, allocations: 30.72 kB / 0.5028 GB, free: 10.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.382, allocations: 409.3 kB / 0.5032 GB, free: 9.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001279/0.3833, allocations: 0.9573 MB / 0.5042 GB, free: 9.141 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00125/0.3845, allocations: 1.084 MB / 0.5052 GB, free: 8.516 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002497/0.387, allocations: 2.15 MB / 0.5073 GB, free: 6.422 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.387, allocations: 0 / 0.5073 GB, free: 6.422 MB / 314.7 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.008873/0.3959, allocations: 4.1 MB / 0.5113 GB, free: 2.309 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.396, allocations: 4 kB / 0.5113 GB, free: 2.305 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.396, allocations: 0 / 0.5113 GB, free: 2.305 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01063/0.4066, allocations: 4.223 MB / 0.5154 GB, free: 14.08 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.4077, allocations: 223.7 kB / 0.5157 GB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02108/0.4288, allocations: 11.96 MB / 0.5273 GB, free: 1.793 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.4301, allocations: 138.5 kB / 0.5275 GB, free: 1.656 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/0.4303, allocations: 47.98 kB / 0.5275 GB, free: 1.609 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,36)} Notification: Performance of prepare postOptimizeDAE: time 0.0005967/0.4309, allocations: 314.9 kB / 0.5278 GB, free: 1.293 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001959/0.4311, allocations: 106.7 kB / 0.5279 GB, free: 1.188 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01039/0.4415, allocations: 4.075 MB / 0.5319 GB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.622e-05/0.4416, allocations: 16 kB / 0.5319 GB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.4416, allocations: 0.7656 kB / 0.5319 GB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.512e-05/0.4416, allocations: 11.95 kB / 0.5319 GB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01254/0.4542, allocations: 5.99 MB / 0.5378 GB, free: 7.043 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.465e-05/0.4542, allocations: 0 / 0.5378 GB, free: 7.043 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006406/0.4549, allocations: 175.8 kB / 0.5379 GB, free: 6.871 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01039/0.4653, allocations: 2.903 MB / 0.5408 GB, free: 3.965 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003478/0.4657, allocations: 39.98 kB / 0.5408 GB, free: 3.926 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02166/0.4874, allocations: 11.73 MB / 0.5523 GB, free: 8.059 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4874, allocations: 0 / 0.5523 GB, free: 8.059 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009969/0.4974, allocations: 3.94 MB / 0.5561 GB, free: 4.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004558/0.4979, allocations: 211.2 kB / 0.5563 GB, free: 3.863 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002706/0.4982, allocations: 28 kB / 0.5564 GB, free: 3.836 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/0.4992, allocations: 117 kB / 0.5565 GB, free: 3.727 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005481/0.4998, allocations: 130.3 kB / 0.5566 GB, free: 3.602 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001262/0.4999, allocations: 51.98 kB / 0.5566 GB, free: 3.551 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006456/0.5006, allocations: 455 kB / 0.5571 GB, free: 3.105 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5006, allocations: 0 / 0.5571 GB, free: 3.105 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0017/0.5023, allocations: 0.5505 MB / 0.5576 GB, free: 2.555 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 (105): * Single equations (assignments): 104 * 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,36)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003611/0.5026, allocations: 161.7 kB / 0.5578 GB, free: 2.383 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.007407/0.5101, allocations: 3.355 MB / 0.561 GB, free: 15.03 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/0.5101, allocations: 12.59 kB / 0.5611 GB, free: 15.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005655/0.5158, allocations: 2.188 MB / 0.5632 GB, free: 12.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.5169, allocations: 139.6 kB / 0.5633 GB, free: 12.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00397/0.5209, allocations: 2.86 MB / 0.5661 GB, free: 9.789 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006651/0.5216, allocations: 1.107 MB / 0.5672 GB, free: 8.652 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005825/0.5221, allocations: 147.7 kB / 0.5673 GB, free: 8.504 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002128/0.5224, allocations: 87.41 kB / 0.5674 GB, free: 8.422 MB / 378.7 MB Notification: Performance of SimCode: time 6.62e-07/0.5224, allocations: 0 / 0.5674 GB, free: 8.422 MB / 378.7 MB Notification: Performance of Templates: time 0.0537/0.5761, allocations: 37.35 MB / 0.6039 GB, free: 3.223 MB / 410.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.makefile (rm -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.sim & ./PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe 2>&1)