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.00183/0.00183, allocations: 83.34 kB / 20.56 MB, free: 1.242 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.002253/0.002253, allocations: 170.8 kB / 23.8 MB, free: 4.434 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.433/1.433, allocations: 177.2 MB / 204.2 MB, free: 8.969 MB / 190.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.03393/0.03393, allocations: 4.486 MB / 265.1 MB, free: 12.2 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.001562/0.001562, allocations: 47.94 kB / 390.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09118/0.09274, allocations: 54.99 MB / 445.6 MB, free: 6.812 MB / 414.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLigneWithFault): time 0.003106/0.09584, allocations: 1.652 MB / 447.2 MB, free: 5.16 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002432/0.09828, allocations: 1.59 MB / 448.8 MB, free: 3.555 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.09838, allocations: 4 kB / 448.8 MB, free: 3.551 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003938/0.09877, allocations: 147.2 kB / 449 MB, free: 3.406 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003285/0.0991, allocations: 139.1 kB / 449.1 MB, free: 3.27 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001584/0.1007, allocations: 0.7819 MB / 449.9 MB, free: 2.484 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004627/0.1011, allocations: 334.5 kB / 450.2 MB, free: 2.156 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001888/0.1013, allocations: 79.34 kB / 450.3 MB, free: 2.078 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002249/0.1016, allocations: 135.5 kB / 450.4 MB, free: 1.945 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002874/0.1018, allocations: 155.3 kB / 450.6 MB, free: 1.793 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.619e-05/0.1019, allocations: 39.98 kB / 450.6 MB, free: 1.754 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003756/0.1023, allocations: 211.8 kB / 450.8 MB, free: 1.547 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.668e-05/0.1024, allocations: 75.69 kB / 450.9 MB, free: 1.473 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001653/0.1025, allocations: 131.4 kB / 451 MB, free: 1.344 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006709/0.1032, allocations: 0.5217 MB / 451.5 MB, free: 0.8203 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1032, allocations: 0 / 451.5 MB, free: 0.8203 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1032, allocations: 0 / 451.5 MB, free: 0.8203 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1032, allocations: 0 / 451.5 MB, free: 0.8203 MB / 414.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.002637/0.1058, allocations: 0.8576 MB / 452.4 MB, free: 15.92 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.1059, allocations: 8.031 kB / 452.4 MB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002328/0.1061, allocations: 48.73 kB / 452.5 MB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003858/0.1065, allocations: 245.8 kB / 452.7 MB, free: 15.6 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.1065, allocations: 16.88 kB / 452.7 MB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.975e-05/0.1066, allocations: 28.38 kB / 452.7 MB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006653/0.1072, allocations: 399.9 kB / 453.1 MB, free: 15.15 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.1072, allocations: 192 / 453.1 MB, free: 15.15 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.525e-05/0.1073, allocations: 19.88 kB / 453.2 MB, free: 15.13 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.1073, allocations: 11.98 kB / 453.2 MB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005623/0.1079, allocations: 367.6 kB / 453.5 MB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/0.1095, allocations: 0.8574 MB / 454.4 MB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00085/0.1103, allocations: 371.5 kB / 454.7 MB, free: 13.49 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003342/0.1107, allocations: 214.5 kB / 455 MB, free: 13.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009717/0.1116, allocations: 0.6209 MB / 455.6 MB, free: 12.63 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000578/0.1122, allocations: 417.5 kB / 456 MB, free: 12.17 MB / 430.1 MB Notification: Performance of pre-optimization done (n=32): time 1.573e-06/0.1122, allocations: 3.938 kB / 456 MB, free: 12.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=32): time 0.003299/0.1155, allocations: 1.098 MB / 457.1 MB, free: 11.04 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/0.1156, allocations: 191.9 kB / 457.3 MB, free: 10.81 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002909/0.1159, allocations: 265.6 kB / 457.5 MB, free: 10.54 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.125e-05/0.116, allocations: 37.7 kB / 457.6 MB, free: 10.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.1161, allocations: 160.7 kB / 457.7 MB, free: 10.34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.916e-05/0.1162, allocations: 103.1 kB / 457.8 MB, free: 10.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/0.1164, allocations: 90.12 kB / 457.9 MB, free: 10.14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.1165, allocations: 334.8 kB / 458.2 MB, free: 9.805 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000337/0.1168, allocations: 218.6 kB / 458.5 MB, free: 9.586 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004103/0.1173, allocations: 299.2 kB / 458.7 MB, free: 9.258 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004829/0.1221, allocations: 1.435 MB / 460.2 MB, free: 7.766 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.1221, allocations: 0 / 460.2 MB, free: 7.766 MB / 430.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001897/0.124, allocations: 0.846 MB / 461 MB, free: 6.898 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.661e-05/0.124, allocations: 41.62 kB / 461.1 MB, free: 6.852 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.124, allocations: 4 kB / 461.1 MB, free: 6.848 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001331/0.1254, allocations: 312.5 kB / 461.4 MB, free: 6.539 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/0.1256, allocations: 63.91 kB / 461.4 MB, free: 6.477 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004147/0.1298, allocations: 2.753 MB / 464.2 MB, free: 3.621 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003247/0.1301, allocations: 51.7 kB / 464.2 MB, free: 3.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.855e-05/0.1301, allocations: 16 kB / 464.3 MB, free: 3.555 MB / 430.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.000323/0.1304, allocations: 211.8 kB / 464.5 MB, free: 3.336 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.585e-05/0.1305, allocations: 27.81 kB / 464.5 MB, free: 3.309 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001819/0.1323, allocations: 0.7831 MB / 465.3 MB, free: 2.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1323, allocations: 0 / 465.3 MB, free: 2.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.1323, allocations: 4 kB / 465.3 MB, free: 2.496 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.1323, allocations: 7.938 kB / 465.3 MB, free: 2.488 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003865/0.1327, allocations: 321 kB / 465.6 MB, free: 2.145 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1327, allocations: 0 / 465.6 MB, free: 2.145 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.1328, allocations: 31.88 kB / 465.6 MB, free: 2.113 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001257/0.1341, allocations: 308.5 kB / 465.9 MB, free: 1.809 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.1341, allocations: 11.94 kB / 465.9 MB, free: 1.797 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003993/0.1381, allocations: 2.741 MB / 468.7 MB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1381, allocations: 0 / 468.7 MB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001803/0.1399, allocations: 0.7784 MB / 469.5 MB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.013e-05/0.14, allocations: 31.78 kB / 469.5 MB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.851e-05/0.14, allocations: 12 kB / 469.5 MB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002063/0.1402, allocations: 11.98 kB / 469.5 MB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.912e-05/0.1403, allocations: 27.95 kB / 469.5 MB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.538e-05/0.1404, allocations: 20 kB / 469.6 MB, free: 14.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001957/0.1406, allocations: 185.2 kB / 469.7 MB, free: 13.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1406, allocations: 0 / 469.7 MB, free: 13.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005021/0.1411, allocations: 131.9 kB / 469.9 MB, free: 13.73 MB / 446.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.0002049/0.1413, allocations: 125.8 kB / 470 MB, free: 13.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001474/0.1427, allocations: 0.763 MB / 470.8 MB, free: 12.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1427, allocations: 4.188 kB / 470.8 MB, free: 12.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000924/0.1437, allocations: 0.4997 MB / 471.3 MB, free: 12.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.1439, allocations: 28.42 kB / 471.3 MB, free: 12.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.1451, allocations: 0.6322 MB / 471.9 MB, free: 11.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/0.1453, allocations: 156.2 kB / 472.1 MB, free: 11.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001057/0.1454, allocations: 34.2 kB / 472.1 MB, free: 11.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.43e-05/0.1455, allocations: 24.5 kB / 472.1 MB, free: 11.34 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1455, allocations: 0 / 472.1 MB, free: 11.34 MB / 446.1 MB Notification: Performance of Templates: time 0.01283/0.1583, allocations: 6.775 MB / 478.9 MB, free: 4.605 MB / 446.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 -s ida -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.566302513005212] Failed to read output from testmodel.py, exit status != 0: 0.16673758800607175 0.32603190800000004 0.22061444500000002 Calling exit ...