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.001822/0.001822, allocations: 109 kB / 20.5 MB, free: 1.453 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.002243/0.002243, allocations: 213.4 kB / 23.8 MB, free: 4.668 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.435/1.435, allocations: 230.6 MB / 257.6 MB, free: 7.984 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.03507/0.03507, allocations: 6.133 MB / 320.1 MB, free: 12.95 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.001585/0.001585, allocations: 47.92 kB / 445.8 MB, free: 4.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09293/0.09452, allocations: 55.02 MB / 0.489 GB, free: 13.76 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLigneWithFault): time 0.003224/0.09774, allocations: 1.86 MB / 0.4909 GB, free: 11.9 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002373/0.1001, allocations: 1.653 MB / 0.4925 GB, free: 10.23 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.1002, allocations: 4 kB / 0.4925 GB, free: 10.23 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004042/0.1006, allocations: 143.2 kB / 0.4926 GB, free: 10.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003485/0.101, allocations: 143.1 kB / 0.4927 GB, free: 9.949 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001654/0.1026, allocations: 0.8544 MB / 0.4936 GB, free: 9.094 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004832/0.1031, allocations: 326.5 kB / 0.4939 GB, free: 8.773 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002003/0.1033, allocations: 87.3 kB / 0.494 GB, free: 8.688 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.1035, allocations: 143.4 kB / 0.4941 GB, free: 8.547 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002823/0.1038, allocations: 183.3 kB / 0.4943 GB, free: 8.367 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.683e-05/0.1038, allocations: 32 kB / 0.4943 GB, free: 8.336 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004178/0.1042, allocations: 231.8 kB / 0.4945 GB, free: 8.109 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.661e-05/0.1043, allocations: 67.7 kB / 0.4946 GB, free: 8.043 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001743/0.1045, allocations: 159.2 kB / 0.4948 GB, free: 7.887 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006686/0.1051, allocations: 0.5217 MB / 0.4953 GB, free: 7.363 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1052, allocations: 0 / 0.4953 GB, free: 7.363 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1052, allocations: 0 / 0.4953 GB, free: 7.363 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1052, allocations: 0 / 0.4953 GB, free: 7.363 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.002671/0.1078, allocations: 0.8614 MB / 0.4961 GB, free: 6.461 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.1079, allocations: 12.03 kB / 0.4961 GB, free: 6.449 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002444/0.1081, allocations: 48.73 kB / 0.4962 GB, free: 6.402 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003563/0.1085, allocations: 237.9 kB / 0.4964 GB, free: 6.145 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/0.1085, allocations: 20.81 kB / 0.4964 GB, free: 6.125 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.624e-05/0.1085, allocations: 24.38 kB / 0.4964 GB, free: 6.102 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005726/0.1091, allocations: 339.7 kB / 0.4968 GB, free: 5.762 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.1091, allocations: 8.188 kB / 0.4968 GB, free: 5.754 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.004e-05/0.1092, allocations: 7.938 kB / 0.4968 GB, free: 5.746 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.1092, allocations: 8 kB / 0.4968 GB, free: 5.738 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005475/0.1097, allocations: 337.6 kB / 0.4971 GB, free: 5.406 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001841/0.1116, allocations: 1.221 MB / 0.4983 GB, free: 4.094 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008362/0.1124, allocations: 341.1 kB / 0.4986 GB, free: 3.754 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003037/0.1127, allocations: 184.7 kB / 0.4988 GB, free: 3.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001071/0.1138, allocations: 0.7264 MB / 0.4995 GB, free: 2.824 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005237/0.1143, allocations: 358.1 kB / 0.4998 GB, free: 2.438 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 1.813e-06/0.1143, allocations: 0 / 0.4998 GB, free: 2.438 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.003303/0.1176, allocations: 1.02 MB / 0.5008 GB, free: 1.402 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.1177, allocations: 195.9 kB / 0.501 GB, free: 1.168 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002914/0.118, allocations: 260.9 kB / 0.5013 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.359e-05/0.118, allocations: 33.7 kB / 0.5013 GB, free: 0.8672 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.1182, allocations: 164.7 kB / 0.5015 GB, free: 0.6992 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.734e-05/0.1183, allocations: 107.1 kB / 0.5016 GB, free: 0.5938 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.1184, allocations: 86.11 kB / 0.5017 GB, free: 0.5039 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1186, allocations: 338.8 kB / 0.502 GB, free: 168 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003331/0.1189, allocations: 184.9 kB / 0.5021 GB, free: 15.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003865/0.1193, allocations: 276.8 kB / 0.5024 GB, free: 15.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004955/0.1242, allocations: 1.416 MB / 0.5038 GB, free: 14.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.1242, allocations: 0 / 0.5038 GB, free: 14.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001892/0.1261, allocations: 0.8325 MB / 0.5046 GB, free: 13.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.612e-05/0.1262, allocations: 33.7 kB / 0.5046 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.1262, allocations: 7.984 kB / 0.5046 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00133/0.1275, allocations: 312.5 kB / 0.5049 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.1278, allocations: 63.91 kB / 0.505 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004189/0.132, allocations: 2.838 MB / 0.5078 GB, free: 9.988 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003078/0.1323, allocations: 43.7 kB / 0.5078 GB, free: 9.945 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.616e-05/0.1323, allocations: 16 kB / 0.5078 GB, free: 9.93 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.0002908/0.1326, allocations: 208.1 kB / 0.508 GB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.78e-05/0.1326, allocations: 23.86 kB / 0.5081 GB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001799/0.1344, allocations: 0.7378 MB / 0.5088 GB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/0.1345, allocations: 7.938 kB / 0.5088 GB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1345, allocations: 4.094 kB / 0.5088 GB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.1345, allocations: 7.984 kB / 0.5088 GB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004584/0.1349, allocations: 436.2 kB / 0.5092 GB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.1349, allocations: 4 kB / 0.5092 GB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.135, allocations: 31.94 kB / 0.5092 GB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001272/0.1363, allocations: 308.4 kB / 0.5095 GB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.942e-05/0.1363, allocations: 8 kB / 0.5095 GB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004063/0.1404, allocations: 2.822 MB / 0.5123 GB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1404, allocations: 0 / 0.5123 GB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/0.1421, allocations: 0.7374 MB / 0.513 GB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-05/0.1422, allocations: 35.73 kB / 0.5131 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.772e-05/0.1422, allocations: 8 kB / 0.5131 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.1425, allocations: 12 kB / 0.5131 GB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.909e-05/0.1425, allocations: 23.95 kB / 0.5131 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.274e-05/0.1426, allocations: 19.98 kB / 0.5131 GB, free: 4.297 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002089/0.1428, allocations: 192.4 kB / 0.5133 GB, free: 4.105 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1428, allocations: 0 / 0.5133 GB, free: 4.105 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004757/0.1432, allocations: 123.9 kB / 0.5134 GB, free: 3.984 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.0001997/0.1434, allocations: 127.2 kB / 0.5135 GB, free: 3.852 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0014/0.1448, allocations: 0.7047 MB / 0.5142 GB, free: 3.121 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1448, allocations: 0 / 0.5142 GB, free: 3.121 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008878/0.1457, allocations: 473.7 kB / 0.5147 GB, free: 2.633 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.146, allocations: 27.41 kB / 0.5147 GB, free: 2.609 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.1471, allocations: 0.6322 MB / 0.5153 GB, free: 1.945 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.1475, allocations: 0.7686 MB / 0.5161 GB, free: 1.148 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.372e-05/0.1476, allocations: 27.44 kB / 0.5161 GB, free: 1.121 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1476, allocations: 0 / 0.5161 GB, free: 1.121 MB / 382.1 MB Notification: Performance of Templates: time 0.1803/0.3279, allocations: 5.625 MB / 0.5216 GB, free: 29.66 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: 7.48359643202275] Failed to read output from testmodel.py, exit status != 0: 0.3349462889600545 0.346935187 0.23924458799999995 Calling exit ...