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.001506/0.001506, allocations: 100.4 kB / 20.48 MB, free: 1.227 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.00165/0.00165, allocations: 212.5 kB / 23.79 MB, free: 4.414 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.345/1.345, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.03586/0.03586, allocations: 6.138 MB / 320.1 MB, free: 12.86 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.001453/0.001453, allocations: 47.94 kB / 445.7 MB, free: 4.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09364/0.09509, allocations: 55.03 MB / 0.489 GB, free: 13.54 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLigneWithFault): time 0.003211/0.0983, allocations: 1.646 MB / 0.4906 GB, free: 11.9 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002088/0.1004, allocations: 1.579 MB / 0.4921 GB, free: 10.3 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.067e-05/0.1005, allocations: 4 kB / 0.4921 GB, free: 10.3 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003498/0.1008, allocations: 139.3 kB / 0.4922 GB, free: 10.16 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003161/0.1011, allocations: 155 kB / 0.4924 GB, free: 10.01 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001505/0.1027, allocations: 0.7724 MB / 0.4931 GB, free: 9.238 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000412/0.1031, allocations: 326.5 kB / 0.4935 GB, free: 8.918 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.1032, allocations: 83.3 kB / 0.4935 GB, free: 8.836 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.1034, allocations: 143.4 kB / 0.4937 GB, free: 8.695 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002341/0.1036, allocations: 151.3 kB / 0.4938 GB, free: 8.547 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.49e-05/0.1037, allocations: 36 kB / 0.4939 GB, free: 8.512 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003369/0.104, allocations: 223.7 kB / 0.4941 GB, free: 8.293 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.081e-05/0.1041, allocations: 71.81 kB / 0.4941 GB, free: 8.223 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.1042, allocations: 135.3 kB / 0.4943 GB, free: 8.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006081/0.1048, allocations: 0.51 MB / 0.4948 GB, free: 7.578 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1048, allocations: 3.938 kB / 0.4948 GB, free: 7.574 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1048, allocations: 0 / 0.4948 GB, free: 7.574 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.1048, allocations: 0 / 0.4948 GB, free: 7.574 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.002457/0.1073, allocations: 0.8537 MB / 0.4956 GB, free: 6.68 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/0.1073, allocations: 8.031 kB / 0.4956 GB, free: 6.672 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002212/0.1075, allocations: 56.72 kB / 0.4957 GB, free: 6.617 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003423/0.1079, allocations: 241.8 kB / 0.4959 GB, free: 6.355 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.1079, allocations: 16.81 kB / 0.4959 GB, free: 6.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.894e-05/0.108, allocations: 28.38 kB / 0.4959 GB, free: 6.312 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005737/0.1085, allocations: 403.2 kB / 0.4963 GB, free: 5.898 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1085, allocations: 192 / 0.4963 GB, free: 5.898 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.262e-05/0.1086, allocations: 19.92 kB / 0.4963 GB, free: 5.879 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.1086, allocations: 7.938 kB / 0.4963 GB, free: 5.871 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005252/0.1091, allocations: 367.3 kB / 0.4967 GB, free: 5.504 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001538/0.1106, allocations: 0.8494 MB / 0.4975 GB, free: 4.625 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000811/0.1115, allocations: 374.6 kB / 0.4979 GB, free: 4.246 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003077/0.1118, allocations: 218.5 kB / 0.4981 GB, free: 4.023 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009392/0.1127, allocations: 0.629 MB / 0.4987 GB, free: 3.375 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005506/0.1133, allocations: 417.4 kB / 0.4991 GB, free: 2.918 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.074e-06/0.1133, allocations: 4 kB / 0.4991 GB, free: 2.914 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.003087/0.1163, allocations: 1.09 MB / 0.5002 GB, free: 1.797 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.1165, allocations: 191.9 kB / 0.5004 GB, free: 1.566 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002829/0.1167, allocations: 264.8 kB / 0.5006 GB, free: 1.301 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.132e-05/0.1168, allocations: 37.7 kB / 0.5006 GB, free: 1.258 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.1169, allocations: 160.6 kB / 0.5008 GB, free: 1.094 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.075e-05/0.117, allocations: 103.1 kB / 0.5009 GB, free: 0.9922 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.1171, allocations: 82.11 kB / 0.501 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.1173, allocations: 342.8 kB / 0.5013 GB, free: 0.5625 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003188/0.1176, allocations: 218.5 kB / 0.5015 GB, free: 348 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003979/0.118, allocations: 302.6 kB / 0.5018 GB, free: 12 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004556/0.1226, allocations: 1.428 MB / 0.5032 GB, free: 14.53 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.1226, allocations: 0 / 0.5032 GB, free: 14.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001793/0.1244, allocations: 0.8421 MB / 0.504 GB, free: 13.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.846e-05/0.1244, allocations: 45.62 kB / 0.5041 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.1244, allocations: 8 kB / 0.5041 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001241/0.1257, allocations: 308.5 kB / 0.5044 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/0.1259, allocations: 67.91 kB / 0.5044 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003927/0.1298, allocations: 2.772 MB / 0.5071 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003162/0.1302, allocations: 35.73 kB / 0.5072 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.816e-05/0.1302, allocations: 19.98 kB / 0.5072 GB, free: 10.3 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.0003099/0.1305, allocations: 215.8 kB / 0.5074 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.957e-05/0.1306, allocations: 35.81 kB / 0.5074 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001696/0.1323, allocations: 0.7787 MB / 0.5082 GB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.1323, allocations: 0 / 0.5082 GB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.1323, allocations: 4 kB / 0.5082 GB, free: 9.234 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1323, allocations: 3.938 kB / 0.5082 GB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003573/0.1326, allocations: 313 kB / 0.5085 GB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1326, allocations: 0 / 0.5085 GB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.304e-05/0.1327, allocations: 24 kB / 0.5085 GB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001206/0.1339, allocations: 308.8 kB / 0.5088 GB, free: 8.566 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.953e-05/0.134, allocations: 16 kB / 0.5088 GB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003835/0.1378, allocations: 2.749 MB / 0.5115 GB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1378, allocations: 0 / 0.5115 GB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/0.1394, allocations: 0.7704 MB / 0.5123 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.663e-05/0.1395, allocations: 35.78 kB / 0.5123 GB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.972e-05/0.1395, allocations: 8 kB / 0.5123 GB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.1397, allocations: 15.98 kB / 0.5123 GB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.019e-05/0.1398, allocations: 27.95 kB / 0.5123 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-05/0.1398, allocations: 12.11 kB / 0.5124 GB, free: 4.797 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001975/0.14, allocations: 192.3 kB / 0.5125 GB, free: 4.605 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.14, allocations: 4 kB / 0.5125 GB, free: 4.602 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004606/0.1405, allocations: 123.9 kB / 0.5127 GB, free: 4.48 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.0001982/0.1407, allocations: 119.2 kB / 0.5128 GB, free: 4.355 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001411/0.1421, allocations: 0.7705 MB / 0.5135 GB, free: 3.547 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1421, allocations: 0 / 0.5135 GB, free: 3.547 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008713/0.143, allocations: 0.504 MB / 0.514 GB, free: 3.012 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/0.1432, allocations: 31.19 kB / 0.514 GB, free: 2.984 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.1443, allocations: 0.6572 MB / 0.5147 GB, free: 2.289 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001471/0.1444, allocations: 160 kB / 0.5148 GB, free: 2.109 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.944e-05/0.1445, allocations: 27.42 kB / 0.5149 GB, free: 2.082 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1445, allocations: 0 / 0.5149 GB, free: 2.082 MB / 382.1 MB Notification: Performance of Templates: time 0.1682/0.3127, allocations: 5.767 MB / 0.5205 GB, free: 29.65 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: 6.901633996050805] Failed to read output from testmodel.py, exit status != 0: 0.32020278414711356 0.33174764599999995 0.224513967 Calling exit ...