Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.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.OneSourceTwoLinesWithFaultOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 170.8 kB / 16.12 MB, free: 5.691 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.368/1.368, 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.0007676/0.0007676, allocations: 92.41 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.04493/0.04493, allocations: 8.097 MB / 353 MB, free: 14.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003256/0.0003256, allocations: 8 kB / 416.2 MB, free: 56.12 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08827/0.08861, allocations: 52.51 MB / 468.7 MB, free: 3.543 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad): time 0.001783/0.09045, allocations: 1.966 MB / 470.7 MB, free: 1.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002098/0.09256, allocations: 2.58 MB / 473.3 MB, free: 14.75 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.09268, allocations: 4 kB / 473.3 MB, free: 14.75 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003531/0.09304, allocations: 139.4 kB / 473.4 MB, free: 14.61 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003662/0.09342, allocations: 183 kB / 473.6 MB, free: 14.43 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002175/0.0956, allocations: 2.171 MB / 475.8 MB, free: 11.96 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004996/0.09611, allocations: 449.9 kB / 476.2 MB, free: 11.52 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002315/0.09635, allocations: 136.4 kB / 476.3 MB, free: 11.38 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.09651, allocations: 159.4 kB / 476.5 MB, free: 11.23 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002797/0.0968, allocations: 230.9 kB / 476.7 MB, free: 11 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.573e-05/0.09685, allocations: 24 kB / 476.7 MB, free: 10.98 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000379/0.09724, allocations: 223.8 kB / 477 MB, free: 10.76 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.626e-05/0.09734, allocations: 71.62 kB / 477 MB, free: 10.69 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002104/0.09755, allocations: 232.5 kB / 477.2 MB, free: 10.45 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006342/0.09819, allocations: 0.6154 MB / 477.9 MB, free: 9.836 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.09821, allocations: 0 / 477.9 MB, free: 9.836 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.09822, allocations: 0 / 477.9 MB, free: 9.836 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.09823, allocations: 0 / 477.9 MB, free: 9.836 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.00322/0.1015, allocations: 1.117 MB / 479 MB, free: 8.66 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.1015, allocations: 8.031 kB / 479 MB, free: 8.652 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002564/0.1018, allocations: 68.34 kB / 479.1 MB, free: 8.586 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004308/0.1022, allocations: 355.4 kB / 479.4 MB, free: 8.203 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.921e-05/0.1022, allocations: 29.03 kB / 479.4 MB, free: 8.176 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.727e-05/0.1023, allocations: 40.31 kB / 479.5 MB, free: 8.137 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006882/0.103, allocations: 454.5 kB / 479.9 MB, free: 7.688 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.103, allocations: 192 / 479.9 MB, free: 7.688 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.415e-05/0.1031, allocations: 15.94 kB / 479.9 MB, free: 7.672 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.597e-06/0.1031, allocations: 8 kB / 479.9 MB, free: 7.664 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006508/0.1038, allocations: 446.5 kB / 480.4 MB, free: 7.227 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002354/0.1061, allocations: 2.003 MB / 482.4 MB, free: 5.023 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.1072, allocations: 0.6885 MB / 483.1 MB, free: 4.285 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004094/0.1076, allocations: 297.2 kB / 483.4 MB, free: 3.992 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.095e-05/0.1077, allocations: 11.97 kB / 483.4 MB, free: 3.98 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000624/0.1083, allocations: 476.6 kB / 483.8 MB, free: 3.477 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 1.694e-06/0.1083, allocations: 0 / 483.8 MB, free: 3.477 MB / 314.7 MB Notification: Performance of matching and sorting (n=50): time 0.005388/0.1137, allocations: 1.783 MB / 485.6 MB, free: 1.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.1139, allocations: 204.3 kB / 485.8 MB, free: 1.418 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003264/0.1142, allocations: 302.9 kB / 486.1 MB, free: 1.109 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.476e-05/0.1142, allocations: 37.7 kB / 486.1 MB, free: 1.066 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.1144, allocations: 176.8 kB / 486.3 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/0.1145, allocations: 165.7 kB / 486.5 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.098e-05/0.1145, allocations: 8 kB / 486.5 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1147, allocations: 346.8 kB / 486.8 MB, free: 380 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004023/0.1151, allocations: 269.1 kB / 487.1 MB, free: 112 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1943/0.3094, allocations: 337.9 kB / 487.4 MB, free: 26.54 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007652/0.3171, allocations: 2.106 MB / 489.5 MB, free: 26.3 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.3171, allocations: 1.031 kB / 489.5 MB, free: 26.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002828/0.32, allocations: 1.186 MB / 490.7 MB, free: 25.8 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.945e-05/0.32, allocations: 35.77 kB / 490.8 MB, free: 25.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.32, allocations: 5.172 kB / 490.8 MB, free: 25.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002268/0.3223, allocations: 0.5244 MB / 491.3 MB, free: 25.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003161/0.3226, allocations: 78.83 kB / 491.4 MB, free: 25.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005112/0.3278, allocations: 3.635 MB / 495 MB, free: 23.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003928/0.3282, allocations: 60.42 kB / 495.1 MB, free: 23.08 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.609e-05/0.3282, allocations: 20.77 kB / 495.1 MB, free: 23.08 MB / 314.7 MB Warning: Assuming fixed start value for the following 3 variables: line2.myFault.fault:DISCRETE(start = false fixed = true ) "true means the fault is active" type: Boolean line2.myFault.Y.im:DISCRETE(start = 0.0 fixed = true ) "Imaginary part of complex number" type: Real line2.myFault.Y.re:DISCRETE(start = 0.0 fixed = true ) "Real part of complex number" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.line2.myFault.fault,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,line2.myFault.fault,$PRE.line2.myFault.Y.im,$PRE.line2.myFault.Y.re,line2.myFault.Y.re,line2.myFault.Y.im) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 1 * 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 {(3,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0002838/0.3285, allocations: 215.9 kB / 495.3 MB, free: 22.89 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.736e-05/0.3286, allocations: 39.28 kB / 495.3 MB, free: 22.87 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002658/0.3313, allocations: 1.135 MB / 496.5 MB, free: 22.35 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.3313, allocations: 10.23 kB / 496.5 MB, free: 22.34 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.3313, allocations: 0 / 496.5 MB, free: 22.34 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.3313, allocations: 3.5 kB / 496.5 MB, free: 22.34 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003129/0.3344, allocations: 1.829 MB / 498.3 MB, free: 21.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3345, allocations: 0.9375 kB / 498.3 MB, free: 21.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.3346, allocations: 49.95 kB / 498.3 MB, free: 21.35 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002266/0.3369, allocations: 0.5074 MB / 498.9 MB, free: 21.23 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.507e-05/0.337, allocations: 13.89 kB / 498.9 MB, free: 21.22 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004818/0.3418, allocations: 3.596 MB / 0.4907 GB, free: 18.65 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3418, allocations: 3.938 kB / 0.4907 GB, free: 18.64 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002474/0.3443, allocations: 1.184 MB / 0.4918 GB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.366e-05/0.3444, allocations: 123.8 kB / 0.492 GB, free: 17.93 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.09e-05/0.3444, allocations: 7.906 kB / 0.492 GB, free: 17.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002934/0.3447, allocations: 31.72 kB / 0.492 GB, free: 17.91 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.3449, allocations: 44.17 kB / 0.492 GB, free: 17.9 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.89e-05/0.3449, allocations: 17.27 kB / 0.4921 GB, free: 17.9 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002136/0.3451, allocations: 219.6 kB / 0.4923 GB, free: 17.77 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.283e-06/0.3451, allocations: 0 / 0.4923 GB, free: 17.77 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006332/0.3458, allocations: 183.8 kB / 0.4924 GB, free: 17.74 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: 7 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,line2.myFault.Y.re,line2.myFault.Y.im,line2.myFault.fault) * Number of discrete states: 7 ($whenCondition4,line2.myFault.Y.im,line2.myFault.Y.re,$whenCondition3,$whenCondition2,line2.myFault.fault,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * 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 {(3,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002237/0.346, allocations: 143.4 kB / 0.4926 GB, free: 17.64 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001801/0.3478, allocations: 0.9843 MB / 0.4935 GB, free: 17.11 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3478, allocations: 7.125 kB / 0.4936 GB, free: 17.1 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.3489, allocations: 0.6729 MB / 0.4942 GB, free: 16.69 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.3493, allocations: 42.23 kB / 0.4942 GB, free: 16.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.3505, allocations: 0.9606 MB / 0.4952 GB, free: 16.06 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.3508, allocations: 0.8168 MB / 0.496 GB, free: 15.35 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001599/0.3509, allocations: 51.47 kB / 0.496 GB, free: 15.34 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.3511, allocations: 34.83 kB / 0.4961 GB, free: 15.32 MB / 314.7 MB Notification: Performance of SimCode: time 9.72e-07/0.3511, allocations: 0 / 0.4961 GB, free: 15.32 MB / 314.7 MB Notification: Performance of Templates: time 0.01404/0.3651, allocations: 10.47 MB / 0.5063 GB, free: 8.203 MB / 314.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.pipe 2>&1)