Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.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.DoubleNetworkWithTwoOppositeBreakers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers") translateModel(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 176.5 kB / 16.12 MB, free: 5.184 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.569/1.569, allocations: 225.7 MB / 242.6 MB, free: 8.434 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.0008819/0.0008819, allocations: 95.44 kB / 293.8 MB, free: 9.477 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.04747/0.04747, allocations: 8.103 MB / 353 MB, free: 14.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003473/0.0003476, allocations: 9.688 kB / 416.2 MB, free: 56.12 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09525/0.09562, allocations: 52.52 MB / 468.7 MB, free: 3.543 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers): time 0.007057/0.1027, allocations: 7.758 MB / 476.5 MB, free: 11.75 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005468/0.1082, allocations: 3.083 MB / 479.6 MB, free: 8.457 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001553/0.1098, allocations: 24 kB / 479.6 MB, free: 8.434 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00147/0.1113, allocations: 342.3 kB / 479.9 MB, free: 8.098 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00284/0.1142, allocations: 0.7304 MB / 480.7 MB, free: 7.363 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004318/0.1186, allocations: 3.006 MB / 483.7 MB, free: 3.984 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00303/0.1216, allocations: 1.781 MB / 485.4 MB, free: 2.195 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001201/0.1228, allocations: 0.5763 MB / 486 MB, free: 1.582 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001207/0.124, allocations: 0.6418 MB / 486.7 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001581/0.1256, allocations: 0.8672 MB / 487.5 MB, free: 68 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.2006/0.3263, allocations: 84.08 kB / 487.6 MB, free: 15.5 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001908/0.3282, allocations: 308.2 kB / 487.9 MB, free: 15.5 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003885/0.3286, allocations: 292.3 kB / 488.2 MB, free: 15.5 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001222/0.3299, allocations: 0.8149 MB / 489 MB, free: 15.39 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003707/0.3336, allocations: 2.149 MB / 491.2 MB, free: 15.08 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.3336, allocations: 0.7188 kB / 491.2 MB, free: 15.08 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.816e-06/0.3336, allocations: 0 / 491.2 MB, free: 15.08 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.007e-05/0.3337, allocations: 1.031 kB / 491.2 MB, free: 15.08 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: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.01585/0.3495, allocations: 3.883 MB / 495 MB, free: 14.14 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.3496, allocations: 10.06 kB / 495.1 MB, free: 14.14 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007993/0.3504, allocations: 184.7 kB / 495.2 MB, free: 14.06 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/0.3519, allocations: 0.9329 MB / 496.2 MB, free: 13.72 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001627/0.352, allocations: 163.5 kB / 496.3 MB, free: 13.65 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000281/0.3523, allocations: 138 kB / 496.5 MB, free: 13.65 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003749/0.3561, allocations: 2.01 MB / 498.5 MB, free: 13.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.514e-05/0.3561, allocations: 0 / 498.5 MB, free: 13.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001613/0.3563, allocations: 57.81 kB / 498.5 MB, free: 13.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.078e-05/0.3563, allocations: 28.31 kB / 498.6 MB, free: 13.52 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003209/0.3596, allocations: 1.938 MB / 0.4888 GB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01012/0.3697, allocations: 8.27 MB / 0.4968 GB, free: 7.906 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00399/0.3737, allocations: 4.574 MB / 0.5013 GB, free: 4.117 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001924/0.3757, allocations: 1.397 MB / 0.5027 GB, free: 3.336 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001755/0.3759, allocations: 47.75 kB / 0.5027 GB, free: 3.324 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002289/0.3782, allocations: 1.436 MB / 0.5041 GB, free: 2.438 MB / 314.7 MB Notification: Performance of pre-optimization done (n=201): time 5.27e-06/0.3782, allocations: 0 / 0.5041 GB, free: 2.438 MB / 314.7 MB Notification: Performance of matching and sorting (n=201): time 0.05257/0.4308, allocations: 13.19 MB / 0.517 GB, free: 7.711 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.4309, allocations: 180.2 kB / 0.5172 GB, free: 7.5 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00136/0.4323, allocations: 0.8058 MB / 0.518 GB, free: 6.684 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000428/0.4327, allocations: 69.7 kB / 0.518 GB, free: 6.609 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000379/0.4331, allocations: 442.5 kB / 0.5184 GB, free: 6.176 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007153/0.4339, allocations: 0.6592 MB / 0.5191 GB, free: 5.523 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.434, allocations: 44 kB / 0.5191 GB, free: 5.48 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002507/0.4343, allocations: 438.9 kB / 0.5196 GB, free: 5.043 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002054/0.4363, allocations: 1.253 MB / 0.5208 GB, free: 3.789 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002145/0.4385, allocations: 1.426 MB / 0.5222 GB, free: 2.332 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004245/0.4427, allocations: 2.803 MB / 0.5249 GB, free: 15.49 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-06/0.4428, allocations: 3.984 kB / 0.5249 GB, free: 15.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=272) (initialization): time 0.01322/0.456, allocations: 5.281 MB / 0.5301 GB, free: 10.22 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.954e-05/0.4561, allocations: 12.66 kB / 0.5301 GB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.4561, allocations: 2.906 kB / 0.5301 GB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0132/0.4693, allocations: 3.821 MB / 0.5338 GB, free: 6.387 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001458/0.4708, allocations: 316.5 kB / 0.5341 GB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02803/0.4988, allocations: 14.43 MB / 0.5482 GB, free: 7.559 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002071/0.5009, allocations: 200.6 kB / 0.5484 GB, free: 7.363 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002235/0.5012, allocations: 75.97 kB / 0.5485 GB, free: 7.289 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$PRE.cmd.pulseStart,cmd.pulseStart,n.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 186 * 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 {(28,58)} Notification: Performance of prepare postOptimizeDAE: time 0.0009733/0.5022, allocations: 359.2 kB / 0.5488 GB, free: 6.945 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002974/0.5025, allocations: 146.2 kB / 0.549 GB, free: 6.801 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01342/0.5159, allocations: 5.2 MB / 0.554 GB, free: 1.664 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.341e-05/0.516, allocations: 20 kB / 0.554 GB, free: 1.645 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/0.516, allocations: 0 / 0.554 GB, free: 1.645 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.983e-05/0.5161, allocations: 11.95 kB / 0.5541 GB, free: 1.633 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02122/0.5373, allocations: 7.736 MB / 0.5616 GB, free: 9.949 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.317e-05/0.5374, allocations: 3.984 kB / 0.5616 GB, free: 9.945 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.5384, allocations: 237.8 kB / 0.5618 GB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01302/0.5514, allocations: 3.286 MB / 0.5651 GB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004554/0.552, allocations: 43.98 kB / 0.5651 GB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02985/0.5818, allocations: 14.22 MB / 0.579 GB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.5819, allocations: 0 / 0.579 GB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01416/0.596, allocations: 5.016 MB / 0.5839 GB, free: 3.09 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006499/0.5967, allocations: 250.8 kB / 0.5841 GB, free: 2.824 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004997/0.5973, allocations: 36 kB / 0.5842 GB, free: 2.789 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001772/0.5991, allocations: 146.7 kB / 0.5843 GB, free: 2.652 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007945/0.5999, allocations: 178.7 kB / 0.5845 GB, free: 2.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002639/0.6002, allocations: 64 kB / 0.5845 GB, free: 2.418 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001132/0.6013, allocations: 0.5341 MB / 0.585 GB, free: 1.883 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.6013, allocations: 0 / 0.585 GB, free: 1.883 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003471/0.6048, allocations: 0.7338 MB / 0.5858 GB, free: 1.148 MB / 394.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: 3 ($whenCondition1,cmd.pulseStart,n.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(28,58)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005214/0.6053, allocations: 186.8 kB / 0.5859 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009639/0.615, allocations: 4.081 MB / 0.5899 GB, free: 12.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.301e-06/0.615, allocations: 1.281 kB / 0.5899 GB, free: 12.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00635/0.6214, allocations: 2.554 MB / 0.5924 GB, free: 10.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/0.623, allocations: 172.6 kB / 0.5926 GB, free: 10.19 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006174/0.6292, allocations: 3.716 MB / 0.5962 GB, free: 6.445 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001063/0.6303, allocations: 1.228 MB / 0.5974 GB, free: 5.188 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009731/0.6313, allocations: 202 kB / 0.5976 GB, free: 4.988 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000373/0.6317, allocations: 115.4 kB / 0.5977 GB, free: 4.875 MB / 410.7 MB Notification: Performance of SimCode: time 1.032e-06/0.6317, allocations: 0 / 0.5977 GB, free: 4.875 MB / 410.7 MB Notification: Performance of Templates: time 0.08151/0.7132, allocations: 49.29 MB / 0.6459 GB, free: 3.797 MB / 458.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.makefile (rm -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.sim & ./PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.pipe 2>&1)