Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 114.7 kB / 17.85 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002178/0.002178, allocations: 191.8 kB / 20.79 MB, free: 2.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 225.6 MB / 249.2 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05079/0.05079, allocations: 8.227 MB / 312.3 MB, free: 2.047 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002147/0.002147, allocations: 63.91 kB / 435.1 MB, free: 11.28 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2264, allocations: 54.36 MB / 489.5 MB, free: 27.58 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad): time 0.002788/0.2292, allocations: 2.455 MB / 491.9 MB, free: 25.65 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001787/0.2309, allocations: 1.732 MB / 493.7 MB, free: 24.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.2311, allocations: 6.281 kB / 493.7 MB, free: 24.25 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003595/0.2314, allocations: 157.9 kB / 493.8 MB, free: 24.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003732/0.2318, allocations: 215.5 kB / 494 MB, free: 23.96 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001521/0.2333, allocations: 1.036 MB / 495.1 MB, free: 23.19 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004525/0.2338, allocations: 480.2 kB / 495.5 MB, free: 22.9 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.234, allocations: 120.9 kB / 495.7 MB, free: 22.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.2341, allocations: 192.5 kB / 495.9 MB, free: 22.71 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002719/0.2344, allocations: 250.9 kB / 496.1 MB, free: 22.55 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.94e-05/0.2344, allocations: 48 kB / 496.1 MB, free: 22.54 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000382/0.2348, allocations: 257.5 kB / 496.4 MB, free: 22.44 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.274e-05/0.2349, allocations: 95.64 kB / 496.5 MB, free: 22.36 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001725/0.2351, allocations: 233.3 kB / 496.7 MB, free: 22.2 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006018/0.2357, allocations: 0.6481 MB / 497.4 MB, free: 21.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2357, allocations: 0 / 497.4 MB, free: 21.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2357, allocations: 0 / 497.4 MB, free: 21.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.2357, allocations: 0 / 497.4 MB, free: 21.75 MB / 366.1 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.003434/0.2391, allocations: 1.192 MB / 498.6 MB, free: 20.9 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.2391, allocations: 13.23 kB / 498.6 MB, free: 20.9 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002614/0.2394, allocations: 64.86 kB / 498.6 MB, free: 20.87 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003439/0.2397, allocations: 365 kB / 499 MB, free: 20.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.2398, allocations: 31.41 kB / 499 MB, free: 20.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.008e-05/0.2398, allocations: 35.31 kB / 499.1 MB, free: 20.49 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006426/0.2405, allocations: 453.9 kB / 499.5 MB, free: 20.21 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.2405, allocations: 192 / 499.5 MB, free: 20.21 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.108e-05/0.2405, allocations: 24 kB / 499.5 MB, free: 20.19 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.2405, allocations: 6.469 kB / 499.5 MB, free: 20.19 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000603/0.2411, allocations: 451.1 kB / 500 MB, free: 19.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001913/0.243, allocations: 1.979 MB / 0.4902 GB, free: 18.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009832/0.244, allocations: 0.6371 MB / 0.4908 GB, free: 17.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003518/0.2444, allocations: 266.7 kB / 0.4911 GB, free: 17.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.197e-05/0.2444, allocations: 13.55 kB / 0.4911 GB, free: 17.49 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005552/0.245, allocations: 468.1 kB / 0.4915 GB, free: 17.12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=50): time 1.934e-06/0.245, allocations: 4 kB / 0.4915 GB, free: 17.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=50): time 0.005656/0.2507, allocations: 1.778 MB / 0.4933 GB, free: 16.06 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.209e-05/0.2507, allocations: 201 kB / 0.4935 GB, free: 15.83 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002922/0.251, allocations: 314.1 kB / 0.4938 GB, free: 15.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.503e-05/0.2511, allocations: 42.61 kB / 0.4938 GB, free: 15.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.184e-05/0.2511, allocations: 163.4 kB / 0.4939 GB, free: 15.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.425e-05/0.2512, allocations: 170 kB / 0.4941 GB, free: 15.28 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001622/0.2514, allocations: 100.8 kB / 0.4942 GB, free: 15.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.156e-05/0.2514, allocations: 347 kB / 0.4945 GB, free: 14.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003844/0.2518, allocations: 278.4 kB / 0.4948 GB, free: 14.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004054/0.2522, allocations: 344 kB / 0.4951 GB, free: 14.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007141/0.2594, allocations: 2.079 MB / 0.4972 GB, free: 13.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.2594, allocations: 0 / 0.4972 GB, free: 13.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00256/0.2619, allocations: 1.16 MB / 0.4983 GB, free: 12.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/0.262, allocations: 40.06 kB / 0.4983 GB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.262, allocations: 9.125 kB / 0.4983 GB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002219/0.2642, allocations: 0.5269 MB / 0.4989 GB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00029/0.2645, allocations: 76.41 kB / 0.4989 GB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005023/0.2695, allocations: 3.963 MB / 0.5028 GB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004197/0.2699, allocations: 49.33 kB / 0.5028 GB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.967e-05/0.27, allocations: 30.89 kB / 0.5029 GB, free: 9.191 MB / 366.1 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.re:DISCRETE(start = 0.0 fixed = true ) \"Real part of complex number\" type: Real line2.myFault.Y.im:DISCRETE(start = 0.0 fixed = true ) \"Imaginary 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,line2.myFault.fault,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.line2.myFault.Y.re,$PRE.line2.myFault.Y.im,line2.myFault.Y.im,line2.myFault.Y.re) * 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.0002368/0.2702, allocations: 215.4 kB / 0.5031 GB, free: 8.996 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.721e-05/0.2703, allocations: 39.55 kB / 0.5031 GB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002562/0.2728, allocations: 1.116 MB / 0.5042 GB, free: 8.277 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.2728, allocations: 9.281 kB / 0.5042 GB, free: 8.273 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.2728, allocations: 0 / 0.5042 GB, free: 8.273 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.2729, allocations: 5.078 kB / 0.5042 GB, free: 8.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002923/0.2758, allocations: 1.82 MB / 0.506 GB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.2758, allocations: 0 / 0.506 GB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.2759, allocations: 47.98 kB / 0.506 GB, free: 6.898 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002103/0.278, allocations: 0.503 MB / 0.5065 GB, free: 6.395 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.834e-05/0.2781, allocations: 12 kB / 0.5065 GB, free: 6.383 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004466/0.2825, allocations: 3.926 MB / 0.5104 GB, free: 2.316 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2825, allocations: 0 / 0.5104 GB, free: 2.316 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002284/0.2848, allocations: 1.165 MB / 0.5115 GB, free: 1.125 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.857e-05/0.2849, allocations: 124.7 kB / 0.5116 GB, free: 0.9844 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.589e-05/0.285, allocations: 19.98 kB / 0.5117 GB, free: 0.9648 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003316/0.2853, allocations: 23.92 kB / 0.5117 GB, free: 0.9414 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.2854, allocations: 40.39 kB / 0.5117 GB, free: 0.9023 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.728e-05/0.2855, allocations: 19.98 kB / 0.5117 GB, free: 0.8828 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001781/0.2856, allocations: 214 kB / 0.5119 GB, free: 0.6719 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2856, allocations: 0 / 0.5119 GB, free: 0.6719 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005868/0.2862, allocations: 187.9 kB / 0.5121 GB, free: 500 kB / 366.1 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.0001747/0.2864, allocations: 140.4 kB / 0.5123 GB, free: 348 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001806/0.2882, allocations: 0.9301 MB / 0.5132 GB, free: 15.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2882, allocations: 0 / 0.5132 GB, free: 15.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001234/0.2894, allocations: 0.6021 MB / 0.5138 GB, free: 14.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004028/0.2898, allocations: 46.7 kB / 0.5138 GB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.2913, allocations: 0.824 MB / 0.5146 GB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000449/0.2917, allocations: 0.8094 MB / 0.5154 GB, free: 13.03 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.2919, allocations: 39.42 kB / 0.5154 GB, free: 12.99 MB / 382.1 MB Notification: Performance of SimCode: time 4.6e-07/0.2919, allocations: 0 / 0.5154 GB, free: 12.99 MB / 382.1 MB Notification: Performance of Templates: time 0.01143/0.3033, allocations: 7.779 MB / 0.523 GB, free: 5.215 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.152738590957597] Failed to read output from testmodel.py, exit status != 0: 0.3116629128344357 0.324412355 0.085858869 Calling exit ...