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.0009403/0.0009403, allocations: 80.06 kB / 20.76 MB, free: 3.727 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.001062/0.001062, allocations: 177.3 kB / 24.19 MB, free: 312 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.9979/0.9979, 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.02377/0.02377, 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.212e-06/1.212e-06, allocations: 0 / 283.7 MB, free: 6.309 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.23e-05/1.352e-05, allocations: 2.312 kB / 283.7 MB, free: 6.305 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLigneWithFault): time 0.001924/0.001937, allocations: 1.82 MB / 285.5 MB, free: 4.488 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.00378, allocations: 1.656 MB / 287.2 MB, free: 2.816 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.428e-05/0.003864, allocations: 8 kB / 287.2 MB, free: 2.809 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002927/0.004157, allocations: 139.1 kB / 287.3 MB, free: 2.672 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002346/0.004392, allocations: 154.9 kB / 287.5 MB, free: 2.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008994/0.005291, allocations: 0.7855 MB / 288.3 MB, free: 1.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003366/0.005628, allocations: 350.3 kB / 288.6 MB, free: 1.387 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.005762, allocations: 81.97 kB / 288.7 MB, free: 1.309 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.005906, allocations: 195.6 kB / 288.9 MB, free: 1.117 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001731/0.006079, allocations: 143.6 kB / 289 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.252e-05/0.006112, allocations: 32 kB / 289 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003005/0.006412, allocations: 239.5 kB / 289.3 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.355e-05/0.006456, allocations: 63.75 kB / 289.3 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.608e-05/0.006542, allocations: 119.7 kB / 289.5 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003898/0.006932, allocations: 438.5 kB / 289.9 MB, free: 104 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.006934, allocations: 4 kB / 289.9 MB, free: 100 kB / 266.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.006934, allocations: 0 / 289.9 MB, free: 100 kB / 266.7 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.006938, allocations: 0 / 289.9 MB, free: 100 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.1044/0.1114, allocations: 0.851 MB / 290.7 MB, free: 20.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.1114, allocations: 9.188 kB / 290.8 MB, free: 20.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000229/0.1116, allocations: 59.42 kB / 290.8 MB, free: 20.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/0.1119, allocations: 175.5 kB / 291 MB, free: 20.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.1119, allocations: 21.22 kB / 291 MB, free: 20.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.1119, allocations: 26.94 kB / 291 MB, free: 20.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002814/0.1122, allocations: 231.3 kB / 291.3 MB, free: 20.01 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.1122, allocations: 1.844 kB / 291.3 MB, free: 20.01 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.1122, allocations: 10.98 kB / 291.3 MB, free: 20.01 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.1123, allocations: 7.094 kB / 291.3 MB, free: 20.01 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000176/0.1124, allocations: 120.3 kB / 291.4 MB, free: 19.97 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009148/0.1133, allocations: 0.5708 MB / 292 MB, free: 19.8 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004072/0.1138, allocations: 278 kB / 292.2 MB, free: 19.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.1139, allocations: 98.95 kB / 292.3 MB, free: 19.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006028/0.1145, allocations: 0.5028 MB / 292.8 MB, free: 19.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002699/0.1147, allocations: 318.1 kB / 293.1 MB, free: 19.15 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.773e-06/0.1147, allocations: 0 / 293.1 MB, free: 19.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.001633/0.1164, allocations: 0.6657 MB / 293.8 MB, free: 19.01 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.1164, allocations: 193.9 kB / 294 MB, free: 18.79 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.1166, allocations: 243.1 kB / 294.2 MB, free: 18.67 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.1166, allocations: 36.23 kB / 294.3 MB, free: 18.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.519e-05/0.1167, allocations: 156.4 kB / 294.4 MB, free: 18.53 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.297e-05/0.1167, allocations: 100.5 kB / 294.5 MB, free: 18.47 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.1168, allocations: 89.97 kB / 294.6 MB, free: 18.45 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.511e-05/0.1169, allocations: 342 kB / 294.9 MB, free: 18.13 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.117, allocations: 93.55 kB / 295 MB, free: 18.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.1171, allocations: 179.2 kB / 295.2 MB, free: 17.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004295/0.1176, allocations: 425.1 kB / 295.6 MB, free: 17.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.1176, allocations: 1.094 kB / 295.6 MB, free: 17.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008283/0.1184, allocations: 495.3 kB / 296.1 MB, free: 17.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.1184, allocations: 35.72 kB / 296.1 MB, free: 17.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.1184, allocations: 2.25 kB / 296.2 MB, free: 17.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008949/0.1193, allocations: 265.2 kB / 296.4 MB, free: 17.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/0.1195, allocations: 62.8 kB / 296.5 MB, free: 17.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001723/0.1212, allocations: 1.782 MB / 298.3 MB, free: 16.47 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.1214, allocations: 42.2 kB / 298.3 MB, free: 16.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/0.1214, allocations: 12.7 kB / 298.3 MB, free: 16.45 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.0001706/0.1216, allocations: 184.5 kB / 298.5 MB, free: 16.3 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.111e-05/0.1216, allocations: 30.34 kB / 298.5 MB, free: 16.3 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000817/0.1225, allocations: 474.5 kB / 299 MB, free: 16.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1225, allocations: 3.891 kB / 299 MB, free: 16.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1225, allocations: 3.219 kB / 299 MB, free: 16.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.1225, allocations: 1.5 kB / 299 MB, free: 16.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002179/0.1227, allocations: 221.5 kB / 299.2 MB, free: 16.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1227, allocations: 0 / 299.2 MB, free: 16.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.962e-05/0.1228, allocations: 25.55 kB / 299.2 MB, free: 16.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008199/0.1236, allocations: 254.1 kB / 299.5 MB, free: 16.06 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/0.1236, allocations: 18.8 kB / 299.5 MB, free: 16.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001553/0.1252, allocations: 1.759 MB / 301.3 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1252, allocations: 2.062 kB / 301.3 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007603/0.1259, allocations: 474.8 kB / 301.7 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.277e-05/0.126, allocations: 35.05 kB / 301.8 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.827e-05/0.126, allocations: 11.53 kB / 301.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.1261, allocations: 9.062 kB / 301.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.6e-05/0.1262, allocations: 25.36 kB / 301.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/0.1262, allocations: 14.11 kB / 301.8 MB, free: 14.49 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.729e-05/0.1263, allocations: 81.75 kB / 301.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1263, allocations: 0 / 301.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003781/0.1267, allocations: 130.3 kB / 302 MB, free: 14.45 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.0001374/0.1268, allocations: 111.3 kB / 302.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000662/0.1275, allocations: 0.5586 MB / 302.7 MB, free: 14.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.1275, allocations: 5.375 kB / 302.7 MB, free: 14.06 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003951/0.1279, allocations: 419.6 kB / 303.1 MB, free: 13.79 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001282/0.128, allocations: 27.2 kB / 303.1 MB, free: 13.78 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009024/0.1289, allocations: 0.5635 MB / 303.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.206e-05/0.1289, allocations: 95.72 kB / 303.8 MB, free: 13.36 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.5e-05/0.129, allocations: 30.08 kB / 303.8 MB, free: 13.35 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.1292, allocations: 97.41 kB / 303.9 MB, free: 13.3 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.1292, allocations: 0 / 303.9 MB, free: 13.3 MB / 266.7 MB Notification: Performance of Templates: time 0.00941/0.1386, allocations: 7.391 MB / 311.3 MB, free: 8.23 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6768140168860555]