Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.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.DoubleNetworkWithVariableLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads") translateModel(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 182.3 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.329/1.329, allocations: 225.7 MB / 242.6 MB, free: 10.17 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.0007876/0.0007877, allocations: 97.56 kB / 293.8 MB, free: 9.711 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.04088/0.04087, allocations: 8.106 MB / 353 MB, free: 14.41 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003954/0.0003955, allocations: 8 kB / 416.2 MB, free: 56.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09206/0.09247, allocations: 52.52 MB / 468.7 MB, free: 3.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads): time 0.006248/0.09878, allocations: 5.719 MB / 474.5 MB, free: 13.84 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007143/0.106, allocations: 3.295 MB / 477.7 MB, free: 10.32 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001878/0.1079, allocations: 20 kB / 477.8 MB, free: 10.3 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00145/0.1094, allocations: 282.6 kB / 478 MB, free: 10.03 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003271/0.1127, allocations: 0.7711 MB / 478.8 MB, free: 9.234 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004501/0.1172, allocations: 2.975 MB / 481.8 MB, free: 5.887 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003483/0.1207, allocations: 1.588 MB / 483.4 MB, free: 4.293 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001366/0.1221, allocations: 492.3 kB / 483.9 MB, free: 3.785 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001489/0.1236, allocations: 0.5563 MB / 484.4 MB, free: 3.227 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001697/0.1253, allocations: 0.7194 MB / 485.1 MB, free: 2.504 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000491/0.1258, allocations: 76 kB / 485.2 MB, free: 2.43 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001354/0.1272, allocations: 331.8 kB / 485.5 MB, free: 2.105 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003972/0.1276, allocations: 262.8 kB / 485.8 MB, free: 1.848 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001185/0.1288, allocations: 0.7013 MB / 486.5 MB, free: 1.137 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2116/0.3404, allocations: 1.932 MB / 488.4 MB, free: 17.3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.3404, allocations: 0.9375 kB / 488.4 MB, free: 17.3 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.3404, allocations: 0 / 488.4 MB, free: 17.3 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.083e-05/0.3405, allocations: 0 / 488.4 MB, free: 17.3 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: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 0.01539/0.3559, allocations: 3.467 MB / 491.9 MB, free: 16.48 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.867e-05/0.356, allocations: 13.66 kB / 491.9 MB, free: 16.48 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/0.3571, allocations: 161.6 kB / 492.1 MB, free: 16.41 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001782/0.3589, allocations: 0.8339 MB / 492.9 MB, free: 16.1 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002749/0.3592, allocations: 323.3 kB / 493.2 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002822/0.3594, allocations: 118.2 kB / 493.3 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004036/0.3635, allocations: 1.813 MB / 495.1 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/0.3635, allocations: 4.594 kB / 495.1 MB, free: 15.72 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001911/0.3637, allocations: 50.66 kB / 495.2 MB, free: 15.72 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.153e-05/0.3638, allocations: 32.89 kB / 495.2 MB, free: 15.72 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00402/0.3678, allocations: 1.714 MB / 496.9 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01251/0.3803, allocations: 7.071 MB / 0.4922 GB, free: 12.14 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003057/0.3835, allocations: 3.859 MB / 0.496 GB, free: 8.902 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001638/0.3851, allocations: 1.176 MB / 0.4971 GB, free: 8.242 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001604/0.3853, allocations: 40.33 kB / 0.4972 GB, free: 8.23 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002102/0.3874, allocations: 1.319 MB / 0.4984 GB, free: 7.422 MB / 314.7 MB Notification: Performance of pre-optimization done (n=167): time 4.508e-06/0.3874, allocations: 2.516 kB / 0.4984 GB, free: 7.422 MB / 314.7 MB Notification: Performance of matching and sorting (n=167): time 0.03134/0.4188, allocations: 8.975 MB / 0.5072 GB, free: 2.07 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/0.4189, allocations: 124.5 kB / 0.5073 GB, free: 1.93 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009991/0.4199, allocations: 0.7385 MB / 0.508 GB, free: 1.184 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000283/0.4202, allocations: 77.69 kB / 0.5081 GB, free: 1.102 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002528/0.4204, allocations: 415.5 kB / 0.5085 GB, free: 0.6914 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003951/0.4208, allocations: 0.5435 MB / 0.5091 GB, free: 160 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.421, allocations: 40 kB / 0.5091 GB, free: 120 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002462/0.4212, allocations: 419.9 kB / 0.5095 GB, free: 15.7 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001831/0.4231, allocations: 1.113 MB / 0.5106 GB, free: 14.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001904/0.425, allocations: 1.273 MB / 0.5118 GB, free: 13.29 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003627/0.4286, allocations: 2.403 MB / 0.5142 GB, free: 10.88 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.4286, allocations: 0 / 0.5142 GB, free: 10.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.007622/0.4363, allocations: 3.797 MB / 0.5179 GB, free: 7.094 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/0.4363, allocations: 11.89 kB / 0.5179 GB, free: 7.082 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.4364, allocations: 4 kB / 0.5179 GB, free: 7.078 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01461/0.451, allocations: 5.137 MB / 0.5229 GB, free: 1.934 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.4523, allocations: 258 kB / 0.5232 GB, free: 1.695 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007165/0.4595, allocations: 3.41 MB / 0.5265 GB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002051/0.4616, allocations: 202.1 kB / 0.5267 GB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001862/0.4618, allocations: 74.27 kB / 0.5267 GB, free: 14 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.feeder2.load1.degradedMode,feeder2.load1.degradedMode,$PRE.feeder2.load2.degradedMode,feeder2.load2.degradedMode,$PRE.feeder2.load3.degradedMode,feeder2.load3.degradedMode,$PRE.feeder2.load4.degradedMode,feeder2.load4.degradedMode,$PRE.feeder1.load1.degradedMode,feeder1.load1.degradedMode,$PRE.feeder1.load2.degradedMode,feeder1.load2.degradedMode,$PRE.feeder1.load3.degradedMode,feeder1.load3.degradedMode,$PRE.feeder1.load4.degradedMode,feeder1.load4.degradedMode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 162 * 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 {(40,44)} Notification: Performance of prepare postOptimizeDAE: time 0.0008624/0.4626, allocations: 342.4 kB / 0.5271 GB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002944/0.4629, allocations: 124.7 kB / 0.5272 GB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005286/0.4682, allocations: 3.338 MB / 0.5305 GB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/0.4683, allocations: 16 kB / 0.5305 GB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.4683, allocations: 4.5 kB / 0.5305 GB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.73e-05/0.4683, allocations: 7.969 kB / 0.5305 GB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007934/0.4762, allocations: 5.724 MB / 0.5361 GB, free: 4.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.4763, allocations: 0 / 0.5361 GB, free: 4.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004901/0.4768, allocations: 153.9 kB / 0.5362 GB, free: 4.293 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01316/0.4899, allocations: 3.893 MB / 0.54 GB, free: 404 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000497/0.4905, allocations: 39.98 kB / 0.5401 GB, free: 364 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006708/0.4972, allocations: 3.461 MB / 0.5434 GB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.4973, allocations: 7.656 kB / 0.5434 GB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005364/0.5026, allocations: 3.214 MB / 0.5466 GB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004548/0.5031, allocations: 223.2 kB / 0.5468 GB, free: 9.398 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002242/0.5033, allocations: 39.94 kB / 0.5468 GB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001378/0.5047, allocations: 141.4 kB / 0.547 GB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003341/0.5051, allocations: 121.8 kB / 0.5471 GB, free: 9.102 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001478/0.5052, allocations: 59.98 kB / 0.5471 GB, free: 9.043 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007138/0.506, allocations: 499 kB / 0.5476 GB, free: 8.559 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.506, allocations: 0 / 0.5476 GB, free: 8.559 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001207/0.5072, allocations: 459.5 kB / 0.5481 GB, free: 8.109 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: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,feeder2.load1.degradedMode,feeder2.load2.degradedMode,feeder2.load3.degradedMode,feeder2.load4.degradedMode,feeder1.load1.degradedMode,feeder1.load2.degradedMode,feeder1.load3.degradedMode,feeder1.load4.degradedMode) * Number of discrete states: 8 (feeder1.load2.degradedMode,feeder1.load3.degradedMode,feeder1.load1.degradedMode,feeder2.load2.degradedMode,feeder2.load3.degradedMode,feeder2.load1.degradedMode,feeder2.load4.degradedMode,feeder1.load4.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 96 * 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 {(40,52)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003657/0.5075, allocations: 198.8 kB / 0.5482 GB, free: 7.926 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.007439/0.515, allocations: 3.13 MB / 0.5513 GB, free: 4.809 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.123e-05/0.515, allocations: 5.688 kB / 0.5513 GB, free: 4.805 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005111/0.5202, allocations: 1.785 MB / 0.5531 GB, free: 3.059 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.5215, allocations: 168.7 kB / 0.5532 GB, free: 2.891 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004821/0.5263, allocations: 3.127 MB / 0.5563 GB, free: 15.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005998/0.5269, allocations: 1.085 MB / 0.5573 GB, free: 14.62 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007286/0.5277, allocations: 165 kB / 0.5575 GB, free: 14.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002385/0.5279, allocations: 99.39 kB / 0.5576 GB, free: 14.36 MB / 378.7 MB Notification: Performance of SimCode: time 7.92e-07/0.5279, allocations: 2.297 kB / 0.5576 GB, free: 14.36 MB / 378.7 MB Notification: Performance of Templates: time 0.04467/0.5726, allocations: 28.35 MB / 0.5853 GB, free: 2.211 MB / 394.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.makefile (rm -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.sim & ./PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.pipe 2>&1)