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.0008608/0.0008608, allocations: 80.06 kB / 20.76 MB, free: 3.73 MB / 18.57 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.0009069/0.0009069, allocations: 173 kB / 24.19 MB, free: 316 kB / 18.57 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 0.9937/0.9937, allocations: 177.1 MB / 204.6 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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.02372/0.02372, allocations: 4.484 MB / 265.6 MB, free: 8.457 MB / 250.7 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 1.272e-06/1.272e-06, allocations: 0 / 283.7 MB, free: 6.355 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.751e-05/1.879e-05, allocations: 2.312 kB / 283.7 MB, free: 6.352 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLigneWithFault): time 0.001906/0.001925, allocations: 1.779 MB / 285.4 MB, free: 4.574 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00164/0.003565, allocations: 1.652 MB / 287.1 MB, free: 2.906 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.003667, allocations: 4 kB / 287.1 MB, free: 2.902 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003255/0.003993, allocations: 147.1 kB / 287.2 MB, free: 2.758 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002578/0.00425, allocations: 151 kB / 287.4 MB, free: 2.609 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009005/0.005151, allocations: 0.7972 MB / 288.2 MB, free: 1.809 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000336/0.005487, allocations: 346.3 kB / 288.5 MB, free: 1.469 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.005615, allocations: 81.97 kB / 288.6 MB, free: 1.391 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001724/0.005787, allocations: 203.6 kB / 288.8 MB, free: 1.191 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.005959, allocations: 139.6 kB / 288.9 MB, free: 1.055 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.518e-05/0.005994, allocations: 32 kB / 289 MB, free: 1.023 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002925/0.006287, allocations: 231.5 kB / 289.2 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.338e-05/0.00633, allocations: 63.75 kB / 289.3 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.57e-05/0.006416, allocations: 119.6 kB / 289.4 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004157/0.006831, allocations: 438.6 kB / 289.8 MB, free: 192 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.006833, allocations: 0 / 289.8 MB, free: 192 kB / 266.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.006834, allocations: 0 / 289.8 MB, free: 192 kB / 266.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.006837, allocations: 0 / 289.8 MB, free: 192 kB / 266.7 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.1054/0.1122, allocations: 0.8526 MB / 290.7 MB, free: 19.74 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.1123, allocations: 11.22 kB / 290.7 MB, free: 19.74 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002048/0.1125, allocations: 62.38 kB / 290.7 MB, free: 19.74 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.1127, allocations: 171.4 kB / 290.9 MB, free: 19.6 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.1127, allocations: 19.5 kB / 290.9 MB, free: 19.6 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.531e-05/0.1128, allocations: 26.89 kB / 290.9 MB, free: 19.6 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002481/0.113, allocations: 232.8 kB / 291.2 MB, free: 19.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.113, allocations: 2.234 kB / 291.2 MB, free: 19.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.113, allocations: 11 kB / 291.2 MB, free: 19.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.113, allocations: 9.688 kB / 291.2 MB, free: 19.5 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.1132, allocations: 118 kB / 291.3 MB, free: 19.46 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008044/0.114, allocations: 0.5712 MB / 291.9 MB, free: 19.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003357/0.1143, allocations: 275.4 kB / 292.1 MB, free: 19.19 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.969e-05/0.1144, allocations: 101.8 kB / 292.2 MB, free: 19.15 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004894/0.1149, allocations: 0.4961 MB / 292.7 MB, free: 18.88 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002001/0.1151, allocations: 327.8 kB / 293.1 MB, free: 18.64 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 2.735e-06/0.1151, allocations: 1.156 kB / 293.1 MB, free: 18.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.001263/0.1164, allocations: 0.663 MB / 293.7 MB, free: 18.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.1164, allocations: 195 kB / 293.9 MB, free: 18.28 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.1166, allocations: 236.9 kB / 294.1 MB, free: 18.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.1166, allocations: 38.55 kB / 294.2 MB, free: 18.13 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.925e-05/0.1166, allocations: 152.4 kB / 294.3 MB, free: 18.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.804e-05/0.1167, allocations: 105.1 kB / 294.4 MB, free: 17.97 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.09e-05/0.1168, allocations: 87.41 kB / 294.5 MB, free: 17.95 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.417e-05/0.1168, allocations: 347.3 kB / 294.9 MB, free: 17.63 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.1169, allocations: 97.14 kB / 295 MB, free: 17.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.117, allocations: 174.6 kB / 295.1 MB, free: 17.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003485/0.1174, allocations: 427.2 kB / 295.5 MB, free: 17.3 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.1174, allocations: 1.75 kB / 295.5 MB, free: 17.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006879/0.1181, allocations: 491.7 kB / 296 MB, free: 17.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.1181, allocations: 34.94 kB / 296.1 MB, free: 17.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.1181, allocations: 3.969 kB / 296.1 MB, free: 17.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000714/0.1188, allocations: 258.2 kB / 296.3 MB, free: 17.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.119, allocations: 64.47 kB / 296.4 MB, free: 17.13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/0.1204, allocations: 1.767 MB / 298.1 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.1205, allocations: 44.38 kB / 298.2 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.1205, allocations: 15.36 kB / 298.2 MB, free: 15.96 MB / 266.7 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.0001502/0.1207, allocations: 175.6 kB / 298.4 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.481e-05/0.1207, allocations: 33.61 kB / 298.4 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006745/0.1214, allocations: 480.7 kB / 298.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.686e-06/0.1214, allocations: 3.625 kB / 298.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1214, allocations: 6.438 kB / 298.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.1214, allocations: 1.453 kB / 298.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002087/0.1216, allocations: 223.3 kB / 299.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1216, allocations: 0 / 299.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.434e-05/0.1217, allocations: 28.11 kB / 299.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006801/0.1224, allocations: 259.8 kB / 299.4 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.1224, allocations: 9.391 kB / 299.4 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001376/0.1238, allocations: 1.74 MB / 301.1 MB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1238, allocations: 0 / 301.1 MB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006604/0.1244, allocations: 480.3 kB / 301.6 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.24e-05/0.1244, allocations: 28.33 kB / 301.6 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.503e-05/0.1245, allocations: 13.53 kB / 301.6 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.739e-05/0.1246, allocations: 10 kB / 301.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.969e-05/0.1247, allocations: 32.36 kB / 301.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.1247, allocations: 6.375 kB / 301.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.776e-05/0.1248, allocations: 83.61 kB / 301.8 MB, free: 14.21 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1248, allocations: 4 kB / 301.8 MB, free: 14.21 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003675/0.1251, allocations: 128.9 kB / 301.9 MB, free: 14.2 MB / 266.7 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.0001574/0.1253, allocations: 107.3 kB / 302 MB, free: 14.13 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000624/0.1259, allocations: 0.5557 MB / 302.6 MB, free: 13.87 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.1259, allocations: 5.5 kB / 302.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003466/0.1263, allocations: 419.4 kB / 303 MB, free: 13.63 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001251/0.1264, allocations: 26.77 kB / 303 MB, free: 13.63 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008757/0.1273, allocations: 0.5659 MB / 303.6 MB, free: 13.31 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.193e-05/0.1273, allocations: 99.45 kB / 303.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.256e-05/0.1274, allocations: 33.62 kB / 303.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.1275, allocations: 92.98 kB / 303.8 MB, free: 13.18 MB / 266.7 MB Notification: Performance of SimCode: time 1.633e-06/0.1275, allocations: 1.094 kB / 303.8 MB, free: 13.18 MB / 266.7 MB Notification: Performance of Templates: time 0.008238/0.1358, allocations: 7.397 MB / 311.2 MB, free: 8.195 MB / 266.7 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=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7047503259964287]