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.00121/0.001211, allocations: 104 kB / 17.79 MB, free: 5.277 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.001166/0.001166, allocations: 190.1 kB / 20.74 MB, free: 2.34 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.321/1.321, allocations: 222.9 MB / 246.4 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 179] 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.1465/0.1465, allocations: 8.088 MB / 306.7 MB, free: 2.629 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.001853/0.001853, allocations: 71.89 kB / 423.9 MB, free: 6.418 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2146, allocations: 51.52 MB / 475.4 MB, free: 22.08 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad): time 0.002584/0.2173, allocations: 2.442 MB / 477.8 MB, free: 20.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001641/0.2189, allocations: 1.72 MB / 479.6 MB, free: 18.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.2191, allocations: 6.906 kB / 479.6 MB, free: 18.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003391/0.2194, allocations: 161.6 kB / 479.7 MB, free: 18.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003412/0.2198, allocations: 211.7 kB / 479.9 MB, free: 18.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001403/0.2212, allocations: 1.027 MB / 481 MB, free: 17.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004274/0.2216, allocations: 489.1 kB / 481.4 MB, free: 17.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002183/0.2218, allocations: 172.4 kB / 481.6 MB, free: 17.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.222, allocations: 192 kB / 481.8 MB, free: 17.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002602/0.2222, allocations: 252 kB / 482 MB, free: 17.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.031e-05/0.2223, allocations: 50.27 kB / 482.1 MB, free: 17.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003654/0.2227, allocations: 253.1 kB / 482.3 MB, free: 16.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.795e-05/0.2227, allocations: 96.67 kB / 482.4 MB, free: 16.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.2229, allocations: 234.6 kB / 482.7 MB, free: 16.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005701/0.2235, allocations: 0.6463 MB / 483.3 MB, free: 16.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2235, allocations: 1.031 kB / 483.3 MB, free: 16.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2235, allocations: 0 / 483.3 MB, free: 16.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.2235, allocations: 0 / 483.3 MB, free: 16.26 MB / 350.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.003173/0.2267, allocations: 1.192 MB / 484.5 MB, free: 15.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.2268, allocations: 12.27 kB / 484.5 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002403/0.227, allocations: 66.2 kB / 484.6 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003446/0.2274, allocations: 364.1 kB / 484.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.2274, allocations: 27.44 kB / 484.9 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.923e-05/0.2274, allocations: 31.66 kB / 485 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005912/0.228, allocations: 462.4 kB / 485.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.2281, allocations: 192 / 485.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.672e-05/0.2281, allocations: 15.66 kB / 485.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.2281, allocations: 7.219 kB / 485.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000554/0.2287, allocations: 454 kB / 485.9 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.2305, allocations: 1.979 MB / 487.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000876/0.2314, allocations: 0.6909 MB / 488.6 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003334/0.2317, allocations: 299.9 kB / 488.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.24e-05/0.2318, allocations: 6.875 kB / 488.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004943/0.2323, allocations: 475.9 kB / 489.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 1.864e-06/0.2323, allocations: 4 kB / 489.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=50): time 0.005203/0.2375, allocations: 1.798 MB / 491.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.2375, allocations: 197.5 kB / 491.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002746/0.2378, allocations: 309.8 kB / 491.6 MB, free: 10.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.683e-05/0.2379, allocations: 38.36 kB / 491.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.596e-05/0.2379, allocations: 170.8 kB / 491.8 MB, free: 9.883 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.828e-05/0.238, allocations: 166.3 kB / 492 MB, free: 9.738 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/0.2382, allocations: 105.4 kB / 492.1 MB, free: 9.672 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.38e-05/0.2382, allocations: 347.8 kB / 492.4 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003467/0.2386, allocations: 273.1 kB / 492.7 MB, free: 9.184 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003685/0.239, allocations: 345.5 kB / 493 MB, free: 8.965 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006619/0.2456, allocations: 2.078 MB / 495.1 MB, free: 7.777 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.2456, allocations: 0 / 495.1 MB, free: 7.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002243/0.2479, allocations: 1.192 MB / 496.3 MB, free: 6.891 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.2479, allocations: 37.69 kB / 496.3 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.2479, allocations: 3.938 kB / 496.4 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001965/0.2499, allocations: 0.521 MB / 496.9 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002508/0.2501, allocations: 87.89 kB / 497 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004291/0.2544, allocations: 3.957 MB / 0.4892 GB, free: 2.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003413/0.2548, allocations: 55.55 kB / 0.4892 GB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.871e-05/0.2548, allocations: 23.98 kB / 0.4893 GB, free: 2.07 MB / 350.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.0001828/0.255, allocations: 212.3 kB / 0.4895 GB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.943e-05/0.2551, allocations: 43.77 kB / 0.4895 GB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002175/0.2573, allocations: 1.137 MB / 0.4906 GB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.2573, allocations: 4 kB / 0.4906 GB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-06/0.2573, allocations: 0 / 0.4906 GB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2573, allocations: 7.984 kB / 0.4906 GB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00303/0.2603, allocations: 1.834 MB / 0.4924 GB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.2604, allocations: 3.938 kB / 0.4924 GB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.2605, allocations: 47.98 kB / 0.4925 GB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002123/0.2627, allocations: 0.5139 MB / 0.493 GB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.726e-05/0.2627, allocations: 8 kB / 0.493 GB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005711/0.2684, allocations: 3.92 MB / 0.4968 GB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.2684, allocations: 7.969 kB / 0.4968 GB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002595/0.271, allocations: 1.185 MB / 0.498 GB, free: 8.879 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.2712, allocations: 120.7 kB / 0.4981 GB, free: 8.742 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.844e-05/0.2712, allocations: 16 kB / 0.4981 GB, free: 8.727 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003167/0.2716, allocations: 27.92 kB / 0.4981 GB, free: 8.699 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.2717, allocations: 40.38 kB / 0.4982 GB, free: 8.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.292e-05/0.2717, allocations: 20 kB / 0.4982 GB, free: 8.641 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002495/0.272, allocations: 217.9 kB / 0.4984 GB, free: 8.426 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.272, allocations: 0 / 0.4984 GB, free: 8.426 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005748/0.2726, allocations: 183.9 kB / 0.4986 GB, free: 8.246 MB / 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.0002071/0.2728, allocations: 143.1 kB / 0.4987 GB, free: 8.094 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001862/0.2747, allocations: 0.9887 MB / 0.4997 GB, free: 7.082 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.2747, allocations: 0 / 0.4997 GB, free: 7.082 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001248/0.2759, allocations: 0.6803 MB / 0.5003 GB, free: 6.379 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003954/0.2763, allocations: 47.94 kB / 0.5004 GB, free: 6.336 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.2778, allocations: 0.8302 MB / 0.5012 GB, free: 5.477 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004272/0.2782, allocations: 0.8094 MB / 0.502 GB, free: 4.645 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.2783, allocations: 35.42 kB / 0.502 GB, free: 4.609 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2783, allocations: 4 kB / 0.502 GB, free: 4.605 MB / 366.1 MB Notification: Performance of Templates: time 0.0111/0.2894, allocations: 7.732 MB / 0.5096 GB, free: 12.88 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: 6.641184492968023] Failed to read output from testmodel.py, exit status != 0: 0.29680795199237764 0.30902868 0.083074148 Calling exit ...