Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001901/0.001901, allocations: 108.3 kB / 19.74 MB, free: 1.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003204/0.003204, allocations: 221.3 kB / 23.04 MB, free: 4.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.722/1.722, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.04159/0.04159, allocations: 6.142 MB / 319.4 MB, free: 12.75 MB / 254.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.OneSourceOneLigneWithFault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault") translateModel(PowerSysPro.Examples.OneSourceOneLigneWithFault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002607/0.002607, allocations: 51.92 kB / 444.9 MB, free: 4.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1305, allocations: 55.03 MB / 499.9 MB, free: 13.47 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLigneWithFault): time 0.003616/0.1341, allocations: 1.658 MB / 0.4898 GB, free: 11.81 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002634/0.1367, allocations: 1.579 MB / 0.4914 GB, free: 10.22 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.1369, allocations: 4 kB / 0.4914 GB, free: 10.21 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004467/0.1373, allocations: 139.3 kB / 0.4915 GB, free: 10.08 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003893/0.1377, allocations: 147.1 kB / 0.4917 GB, free: 9.934 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001702/0.1394, allocations: 0.7781 MB / 0.4924 GB, free: 9.152 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005257/0.1399, allocations: 326.5 kB / 0.4927 GB, free: 8.832 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001985/0.1401, allocations: 83.3 kB / 0.4928 GB, free: 8.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001556/0.1403, allocations: 135.5 kB / 0.4929 GB, free: 8.617 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002575/0.1406, allocations: 163.3 kB / 0.4931 GB, free: 8.457 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.918e-05/0.1406, allocations: 36 kB / 0.4931 GB, free: 8.422 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004128/0.141, allocations: 215.8 kB / 0.4933 GB, free: 8.211 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.314e-05/0.1411, allocations: 71.75 kB / 0.4934 GB, free: 8.141 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001531/0.1413, allocations: 135.3 kB / 0.4935 GB, free: 8.008 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006929/0.142, allocations: 0.5062 MB / 0.494 GB, free: 7.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.142, allocations: 0 / 0.494 GB, free: 7.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.142, allocations: 0 / 0.494 GB, free: 7.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.142, allocations: 0 / 0.494 GB, free: 7.5 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.002705/0.1447, allocations: 0.8614 MB / 0.4949 GB, free: 6.598 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.1447, allocations: 8.031 kB / 0.4949 GB, free: 6.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002379/0.145, allocations: 52.73 kB / 0.4949 GB, free: 6.539 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003896/0.1453, allocations: 249.8 kB / 0.4952 GB, free: 6.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.1454, allocations: 16.81 kB / 0.4952 GB, free: 6.254 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.841e-05/0.1454, allocations: 28.38 kB / 0.4952 GB, free: 6.227 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006251/0.1461, allocations: 395.2 kB / 0.4956 GB, free: 5.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.1461, allocations: 192 / 0.4956 GB, free: 5.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.354e-05/0.1461, allocations: 11.94 kB / 0.4956 GB, free: 5.809 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.1461, allocations: 4 kB / 0.4956 GB, free: 5.805 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005635/0.1467, allocations: 371.3 kB / 0.496 GB, free: 5.434 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001668/0.1483, allocations: 0.861 MB / 0.4968 GB, free: 4.543 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009193/0.1493, allocations: 368.1 kB / 0.4971 GB, free: 4.168 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003387/0.1496, allocations: 218.5 kB / 0.4974 GB, free: 3.945 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001125/0.1507, allocations: 0.6289 MB / 0.498 GB, free: 3.297 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006943/0.1514, allocations: 425.4 kB / 0.4984 GB, free: 2.832 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 3.216e-06/0.1514, allocations: 0 / 0.4984 GB, free: 2.832 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.00332/0.1547, allocations: 1.09 MB / 0.4994 GB, free: 1.715 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/0.1549, allocations: 191.9 kB / 0.4996 GB, free: 1.484 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003287/0.1552, allocations: 264.8 kB / 0.4999 GB, free: 1.219 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.281e-05/0.1552, allocations: 33.7 kB / 0.4999 GB, free: 1.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.1554, allocations: 156.7 kB / 0.5001 GB, free: 1.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.848e-05/0.1555, allocations: 107.1 kB / 0.5002 GB, free: 0.9141 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.1556, allocations: 86.11 kB / 0.5002 GB, free: 0.8242 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.1558, allocations: 346.8 kB / 0.5006 GB, free: 488 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003489/0.1561, allocations: 218.5 kB / 0.5008 GB, free: 260 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004499/0.1566, allocations: 298.6 kB / 0.5011 GB, free: 15.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004896/0.1615, allocations: 1.428 MB / 0.5025 GB, free: 14.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-06/0.1615, allocations: 0 / 0.5025 GB, free: 14.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002011/0.1635, allocations: 0.8577 MB / 0.5033 GB, free: 13.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.884e-05/0.1636, allocations: 37.62 kB / 0.5033 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.1636, allocations: 4 kB / 0.5033 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001346/0.1649, allocations: 312.6 kB / 0.5036 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002528/0.1652, allocations: 59.91 kB / 0.5037 GB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004665/0.1698, allocations: 2.763 MB / 0.5064 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000391/0.1702, allocations: 39.77 kB / 0.5064 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-05/0.1703, allocations: 16 kB / 0.5064 GB, free: 10.23 MB / 382.1 MB Warning: Assuming fixed start value for the following 3 variables: lnFault.myFault.fault:DISCRETE(start = false fixed = true ) \"true means the fault is active\" type: Boolean lnFault.myFault.Y.re:DISCRETE(start = 0.0 fixed = true ) \"Real part of complex number\" type: Real lnFault.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: 10 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.lnFault.myFault.fault,lnFault.myFault.fault,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.lnFault.myFault.Y.re,$PRE.lnFault.myFault.Y.im,lnFault.myFault.Y.im,lnFault.myFault.Y.re) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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): 1 system {(3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003526/0.1706, allocations: 223.2 kB / 0.5067 GB, free: 10 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.334e-05/0.1707, allocations: 35.8 kB / 0.5067 GB, free: 9.965 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001845/0.1726, allocations: 0.7785 MB / 0.5075 GB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.1726, allocations: 0 / 0.5075 GB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.1726, allocations: 4 kB / 0.5075 GB, free: 9.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.1726, allocations: 3.938 kB / 0.5075 GB, free: 9.156 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004319/0.173, allocations: 309 kB / 0.5078 GB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.173, allocations: 4 kB / 0.5078 GB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.1731, allocations: 24 kB / 0.5078 GB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001339/0.1744, allocations: 308.5 kB / 0.5081 GB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.312e-05/0.1745, allocations: 8 kB / 0.5081 GB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004356/0.1788, allocations: 2.749 MB / 0.5108 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.1788, allocations: 3.938 kB / 0.5108 GB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001822/0.1807, allocations: 0.7782 MB / 0.5115 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.511e-05/0.1807, allocations: 31.78 kB / 0.5116 GB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.112e-05/0.1808, allocations: 8 kB / 0.5116 GB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/0.181, allocations: 15.98 kB / 0.5116 GB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.448e-05/0.1811, allocations: 23.95 kB / 0.5116 GB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.384e-05/0.1812, allocations: 16 kB / 0.5116 GB, free: 4.723 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000222/0.1814, allocations: 188.5 kB / 0.5118 GB, free: 4.535 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1814, allocations: 0 / 0.5118 GB, free: 4.535 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005406/0.1819, allocations: 123.9 kB / 0.5119 GB, free: 4.414 MB / 382.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,lnFault.myFault.Y.re,lnFault.myFault.Y.im,lnFault.myFault.fault) * Number of discrete states: 7 ($whenCondition4,lnFault.myFault.Y.im,lnFault.myFault.Y.re,$whenCondition3,$whenCondition2,lnFault.myFault.fault,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * 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): 1 system {(3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002591/0.1822, allocations: 131.2 kB / 0.512 GB, free: 4.277 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001604/0.1838, allocations: 0.7665 MB / 0.5128 GB, free: 3.473 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1838, allocations: 0 / 0.5128 GB, free: 3.473 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009989/0.1848, allocations: 0.5 MB / 0.5133 GB, free: 2.941 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.1851, allocations: 36.19 kB / 0.5133 GB, free: 2.906 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.1867, allocations: 0.636 MB / 0.5139 GB, free: 2.238 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.1869, allocations: 156 kB / 0.5141 GB, free: 2.062 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001481/0.187, allocations: 38.44 kB / 0.5141 GB, free: 2.023 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7e-05/0.1871, allocations: 19.44 kB / 0.5141 GB, free: 2.004 MB / 382.1 MB Notification: Performance of SimCode: time 1.092e-06/0.1871, allocations: 0 / 0.5141 GB, free: 2.004 MB / 382.1 MB Notification: Performance of Templates: time 0.2351/0.4222, allocations: 7.138 MB / 0.5211 GB, free: 30.16 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.6054457649588585] Failed to read output from testmodel.py, exit status != 0: 0.43170242942869663 0.44413080099999996 0.29887745800000004 Calling exit ...