Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.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.001446/0.001446, allocations: 108.3 kB / 19.75 MB, free: 1.879 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.001835/0.001835, allocations: 217.1 kB / 23.03 MB, free: 5.016 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.567/1.567, allocations: 230.6 MB / 256.8 MB, free: 7.953 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.04428/0.04428, allocations: 6.131 MB / 319.3 MB, free: 12.86 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.TwoSourcesOneLineThreeSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors") translateModel(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 55.92 kB / 444.9 MB, free: 4.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1204, allocations: 55.02 MB / 499.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors): time 0.00341/0.1238, allocations: 1.597 MB / 0.4898 GB, free: 11.95 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002799/0.1266, allocations: 1.446 MB / 0.4912 GB, free: 10.49 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000239/0.1268, allocations: 4 kB / 0.4912 GB, free: 10.48 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005435/0.1273, allocations: 131.3 kB / 0.4913 GB, free: 10.36 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000469/0.1278, allocations: 95.31 kB / 0.4914 GB, free: 10.26 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002149/0.13, allocations: 0.8385 MB / 0.4922 GB, free: 9.422 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004749/0.1304, allocations: 227 kB / 0.4924 GB, free: 9.199 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002161/0.1307, allocations: 76.28 kB / 0.4925 GB, free: 9.121 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.1308, allocations: 103.6 kB / 0.4926 GB, free: 9.02 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002715/0.1311, allocations: 111.5 kB / 0.4927 GB, free: 8.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.459e-05/0.1312, allocations: 24 kB / 0.4927 GB, free: 8.887 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006501/0.1318, allocations: 199.8 kB / 0.4929 GB, free: 8.691 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.839e-05/0.1319, allocations: 55.77 kB / 0.493 GB, free: 8.637 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001799/0.1321, allocations: 103.5 kB / 0.4931 GB, free: 8.535 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008742/0.133, allocations: 402.6 kB / 0.4935 GB, free: 8.141 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.133, allocations: 8 kB / 0.4935 GB, free: 8.133 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.133, allocations: 0 / 0.4935 GB, free: 8.133 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.133, allocations: 0 / 0.4935 GB, free: 8.133 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.002807/0.1358, allocations: 0.6924 MB / 0.4942 GB, free: 7.406 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.1358, allocations: 12.03 kB / 0.4942 GB, free: 7.395 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.122e-05/0.1359, allocations: 24.8 kB / 0.4942 GB, free: 7.371 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003767/0.1363, allocations: 184.7 kB / 0.4944 GB, free: 7.168 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.86e-05/0.1363, allocations: 20.81 kB / 0.4944 GB, free: 7.148 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.679e-05/0.1364, allocations: 24.38 kB / 0.4944 GB, free: 7.125 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006148/0.137, allocations: 304.6 kB / 0.4947 GB, free: 6.824 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.137, allocations: 192 / 0.4947 GB, free: 6.824 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.381e-05/0.1371, allocations: 15.94 kB / 0.4947 GB, free: 6.809 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.1371, allocations: 4 kB / 0.4947 GB, free: 6.805 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005319/0.1376, allocations: 297.9 kB / 0.495 GB, free: 6.508 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00202/0.1397, allocations: 0.7285 MB / 0.4957 GB, free: 5.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007008/0.1404, allocations: 262.4 kB / 0.496 GB, free: 5.484 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002609/0.1406, allocations: 112.8 kB / 0.4961 GB, free: 5.371 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001733/0.1408, allocations: 12 kB / 0.4961 GB, free: 5.359 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.72e-05/0.1409, allocations: 34.56 kB / 0.4961 GB, free: 5.316 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 3.497e-06/0.1409, allocations: 0 / 0.4961 GB, free: 5.316 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.001635/0.1425, allocations: 442.5 kB / 0.4965 GB, free: 4.875 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.662e-05/0.1426, allocations: 55.41 kB / 0.4966 GB, free: 4.809 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002983/0.1429, allocations: 168.2 kB / 0.4968 GB, free: 4.637 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.888e-05/0.1429, allocations: 29.7 kB / 0.4968 GB, free: 4.602 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000193/0.1431, allocations: 152.6 kB / 0.4969 GB, free: 4.449 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.1432, allocations: 99.09 kB / 0.497 GB, free: 4.352 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001533/0.1434, allocations: 69.69 kB / 0.4971 GB, free: 4.277 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002383/0.1436, allocations: 322.8 kB / 0.4974 GB, free: 3.953 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/0.1438, allocations: 124 kB / 0.4975 GB, free: 3.832 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002574/0.1441, allocations: 128.8 kB / 0.4976 GB, free: 3.707 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005187/0.1446, allocations: 273.2 kB / 0.4979 GB, free: 3.438 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1446, allocations: 4 kB / 0.4979 GB, free: 3.434 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008536/0.1455, allocations: 402.1 kB / 0.4983 GB, free: 3.031 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.1455, allocations: 4 kB / 0.4983 GB, free: 3.027 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.1455, allocations: 4 kB / 0.4983 GB, free: 3.023 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003545/0.1459, allocations: 52.81 kB / 0.4983 GB, free: 2.969 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003637/0.1462, allocations: 59.91 kB / 0.4984 GB, free: 2.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001708/0.1479, allocations: 1.42 MB / 0.4998 GB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001883/0.1481, allocations: 23.81 kB / 0.4998 GB, free: 1.359 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.83e-05/0.1482, allocations: 11.98 kB / 0.4998 GB, free: 1.348 MB / 366.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 (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001777/0.1483, allocations: 141.8 kB / 0.5 GB, free: 1.199 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.993e-05/0.1484, allocations: 11.91 kB / 0.5 GB, free: 1.188 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007408/0.1491, allocations: 356.4 kB / 0.5003 GB, free: 0.832 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.1491, allocations: 4 kB / 0.5003 GB, free: 0.8281 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.1491, allocations: 0 / 0.5003 GB, free: 0.8281 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1491, allocations: 3.938 kB / 0.5003 GB, free: 0.8242 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.1502, allocations: 0.6165 MB / 0.5009 GB, free: 168 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.1502, allocations: 7.922 kB / 0.5009 GB, free: 160 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002182/0.1505, allocations: 39.98 kB / 0.501 GB, free: 120 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002448/0.1507, allocations: 56.81 kB / 0.501 GB, free: 60 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.1507, allocations: 4 kB / 0.501 GB, free: 56 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001569/0.1523, allocations: 1.405 MB / 0.5024 GB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.1523, allocations: 3.938 kB / 0.5024 GB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006414/0.1529, allocations: 393 kB / 0.5028 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.948e-05/0.153, allocations: 19.84 kB / 0.5028 GB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.932e-05/0.153, allocations: 7.938 kB / 0.5028 GB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.1531, allocations: 4 kB / 0.5028 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/0.1532, allocations: 23.98 kB / 0.5028 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.1532, allocations: 12 kB / 0.5028 GB, free: 14.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001287/0.1533, allocations: 136.8 kB / 0.503 GB, free: 13.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1533, allocations: 0 / 0.503 GB, free: 13.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004552/0.1538, allocations: 75.89 kB / 0.503 GB, free: 13.87 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * 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 {(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.0002294/0.154, allocations: 119.2 kB / 0.5032 GB, free: 13.74 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008554/0.1549, allocations: 398.2 kB / 0.5035 GB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.1549, allocations: 0 / 0.5035 GB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004669/0.1553, allocations: 238.6 kB / 0.5038 GB, free: 13.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.1556, allocations: 14.66 kB / 0.5038 GB, free: 13.08 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.1566, allocations: 465.2 kB / 0.5042 GB, free: 12.6 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001536/0.1568, allocations: 129.2 kB / 0.5043 GB, free: 12.45 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001255/0.1569, allocations: 25.62 kB / 0.5044 GB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.258e-05/0.157, allocations: 23.42 kB / 0.5044 GB, free: 12.41 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.157, allocations: 0 / 0.5044 GB, free: 12.41 MB / 382.1 MB Notification: Performance of Templates: time 0.00778/0.1648, allocations: 2.971 MB / 0.5073 GB, free: 9.461 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.sim & ./PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.170731453225017] Failed to read output from testmodel.py, exit status != 0: 0.17360006272792816 0.42538090300000003 0.289523112 Calling exit ...