Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.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.001499/0.001499, allocations: 100.4 kB / 20.49 MB, free: 1.344 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.001474/0.001474, allocations: 206.3 kB / 23.78 MB, free: 4.496 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.392/1.392, allocations: 230.6 MB / 257.6 MB, free: 7.75 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.03609/0.03609, allocations: 6.135 MB / 320.1 MB, free: 12.83 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.OneSourceThreeLinesOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource") translateModel(PowerSysPro.Examples.OneSourceThreeLinesOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 47.92 kB / 445.7 MB, free: 4.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1033, allocations: 55.03 MB / 0.489 GB, free: 13.52 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesOneSource): time 0.00278/0.1061, allocations: 1.595 MB / 0.4905 GB, free: 11.93 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002084/0.1082, allocations: 1.552 MB / 0.492 GB, free: 10.36 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.228e-05/0.1083, allocations: 4 kB / 0.492 GB, free: 10.36 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00036/0.1086, allocations: 131.3 kB / 0.4922 GB, free: 10.23 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000296/0.1089, allocations: 139.1 kB / 0.4923 GB, free: 10.09 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.1101, allocations: 0.5991 MB / 0.4929 GB, free: 9.492 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003776/0.1105, allocations: 290.6 kB / 0.4932 GB, free: 9.207 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.1107, allocations: 77.92 kB / 0.4932 GB, free: 9.129 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.1108, allocations: 127.5 kB / 0.4934 GB, free: 9.004 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001771/0.111, allocations: 135.3 kB / 0.4935 GB, free: 8.871 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.151e-05/0.111, allocations: 24 kB / 0.4935 GB, free: 8.848 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003164/0.1113, allocations: 179.8 kB / 0.4937 GB, free: 8.672 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.956e-05/0.1114, allocations: 55.77 kB / 0.4937 GB, free: 8.617 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001544/0.1115, allocations: 115.5 kB / 0.4938 GB, free: 8.504 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005258/0.1121, allocations: 438.4 kB / 0.4943 GB, free: 8.074 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1121, allocations: 4 kB / 0.4943 GB, free: 8.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1121, allocations: 0 / 0.4943 GB, free: 8.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.859e-06/0.1121, allocations: 0 / 0.4943 GB, free: 8.07 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.002948/0.115, allocations: 0.8873 MB / 0.4951 GB, free: 7.148 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.1151, allocations: 12.03 kB / 0.4951 GB, free: 7.137 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.779e-05/0.1151, allocations: 36.75 kB / 0.4952 GB, free: 7.102 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003175/0.1155, allocations: 218.6 kB / 0.4954 GB, free: 6.863 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.1155, allocations: 20.81 kB / 0.4954 GB, free: 6.844 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.113e-05/0.1155, allocations: 28.38 kB / 0.4954 GB, free: 6.816 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006181/0.1161, allocations: 428.8 kB / 0.4958 GB, free: 6.371 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1162, allocations: 192 / 0.4958 GB, free: 6.371 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.226e-05/0.1162, allocations: 11.94 kB / 0.4959 GB, free: 6.359 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.1162, allocations: 4 kB / 0.4959 GB, free: 6.355 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005197/0.1167, allocations: 341.6 kB / 0.4962 GB, free: 6.02 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/0.1183, allocations: 0.8493 MB / 0.497 GB, free: 5.141 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005727/0.1189, allocations: 373.9 kB / 0.4974 GB, free: 4.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003099/0.1192, allocations: 204.8 kB / 0.4976 GB, free: 4.566 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.367e-05/0.1193, allocations: 11.98 kB / 0.4976 GB, free: 4.555 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/0.1193, allocations: 35.16 kB / 0.4976 GB, free: 4.512 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 1.382e-06/0.1193, allocations: 0 / 0.4976 GB, free: 4.512 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002326/0.1216, allocations: 0.8448 MB / 0.4984 GB, free: 3.652 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.796e-05/0.1217, allocations: 63.34 kB / 0.4985 GB, free: 3.578 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002596/0.1219, allocations: 231 kB / 0.4987 GB, free: 3.344 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.909e-05/0.122, allocations: 33.64 kB / 0.4987 GB, free: 3.305 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.1221, allocations: 152.7 kB / 0.4989 GB, free: 3.148 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.1222, allocations: 119 kB / 0.499 GB, free: 3.031 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.1223, allocations: 86.11 kB / 0.4991 GB, free: 2.941 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.1225, allocations: 338.8 kB / 0.4994 GB, free: 2.602 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00036/0.1229, allocations: 236.8 kB / 0.4996 GB, free: 2.367 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003535/0.1232, allocations: 243.9 kB / 0.4999 GB, free: 2.133 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007512/0.124, allocations: 0.5132 MB / 0.5004 GB, free: 1.617 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.124, allocations: 0 / 0.5004 GB, free: 1.617 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001342/0.1253, allocations: 0.7326 MB / 0.5011 GB, free: 0.8672 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.1253, allocations: 4 kB / 0.5011 GB, free: 0.8633 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1253, allocations: 0 / 0.5011 GB, free: 0.8633 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007086/0.126, allocations: 162.4 kB / 0.5012 GB, free: 0.6953 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003838/0.1264, allocations: 79.89 kB / 0.5013 GB, free: 0.6172 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004195/0.1306, allocations: 4.228 MB / 0.5054 GB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002642/0.1309, allocations: 35.77 kB / 0.5055 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.429e-05/0.1309, allocations: 16 kB / 0.5055 GB, free: 12.03 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001868/0.1311, allocations: 149.7 kB / 0.5056 GB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.262e-05/0.1312, allocations: 28.02 kB / 0.5057 GB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001243/0.1324, allocations: 0.6039 MB / 0.5063 GB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.1324, allocations: 4 kB / 0.5063 GB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.1324, allocations: 0 / 0.5063 GB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.1324, allocations: 3.984 kB / 0.5063 GB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003951/0.1328, allocations: 316.9 kB / 0.5066 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.1328, allocations: 0 / 0.5066 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002252/0.133, allocations: 47.97 kB / 0.5066 GB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005639/0.1336, allocations: 158.4 kB / 0.5068 GB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.48e-05/0.1336, allocations: 4 kB / 0.5068 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004043/0.1377, allocations: 4.211 MB / 0.5109 GB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1377, allocations: 0 / 0.5109 GB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/0.1388, allocations: 0.6316 MB / 0.5115 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.232e-05/0.1389, allocations: 39.67 kB / 0.5115 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.801e-05/0.1389, allocations: 8 kB / 0.5115 GB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/0.1391, allocations: 8 kB / 0.5115 GB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.806e-05/0.1392, allocations: 31.83 kB / 0.5116 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/0.1392, allocations: 8 kB / 0.5116 GB, free: 5.395 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001705/0.1394, allocations: 168.1 kB / 0.5117 GB, free: 5.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1394, allocations: 4 kB / 0.5118 GB, free: 5.227 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004856/0.1399, allocations: 112 kB / 0.5119 GB, free: 5.117 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001974/0.1401, allocations: 119.2 kB / 0.512 GB, free: 4.992 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00158/0.1417, allocations: 0.842 MB / 0.5128 GB, free: 4.113 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.1417, allocations: 7.938 kB / 0.5128 GB, free: 4.105 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009914/0.1427, allocations: 0.5702 MB / 0.5134 GB, free: 3.496 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.1429, allocations: 23.64 kB / 0.5134 GB, free: 3.473 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.1441, allocations: 0.6224 MB / 0.514 GB, free: 2.816 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001471/0.1442, allocations: 147.6 kB / 0.5141 GB, free: 2.645 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.1443, allocations: 31.42 kB / 0.5142 GB, free: 2.613 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1443, allocations: 0 / 0.5142 GB, free: 2.613 MB / 382.1 MB Notification: Performance of Templates: time 0.1771/0.3215, allocations: 7.625 MB / 0.5216 GB, free: 29.94 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.406471874099225] Failed to read output from testmodel.py, exit status != 0: 0.32935011899098754 0.33942022400000005 0.225019766 Calling exit ...