Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 107.1 kB / 17.8 MB, free: 5.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 187.8 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 222.9 MB / 246.4 MB, free: 4.184 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1456/0.1456, allocations: 8.086 MB / 306.7 MB, free: 3.027 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads") translateModel(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 71.89 kB / 423.9 MB, free: 6.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2076, allocations: 51.51 MB / 475.4 MB, free: 22.05 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads): time 0.00262/0.2102, allocations: 2.24 MB / 477.6 MB, free: 20.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001915/0.2122, allocations: 1.665 MB / 479.3 MB, free: 18.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000228/0.2124, allocations: 5.656 kB / 479.3 MB, free: 18.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004155/0.2129, allocations: 154.8 kB / 479.5 MB, free: 18.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004573/0.2133, allocations: 194.4 kB / 479.6 MB, free: 18.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.2148, allocations: 0.9678 MB / 480.6 MB, free: 17.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005149/0.2153, allocations: 421 kB / 481 MB, free: 17.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002037/0.2155, allocations: 144.7 kB / 481.2 MB, free: 17.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002117/0.2158, allocations: 174.2 kB / 481.3 MB, free: 17.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002842/0.2161, allocations: 221.2 kB / 481.6 MB, free: 17.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.84e-05/0.2161, allocations: 33.34 kB / 481.6 MB, free: 17.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004107/0.2165, allocations: 214.6 kB / 481.8 MB, free: 17.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.861e-05/0.2166, allocations: 91.41 kB / 481.9 MB, free: 17.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001797/0.2168, allocations: 192.3 kB / 482.1 MB, free: 17.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006035/0.2174, allocations: 0.55 MB / 482.6 MB, free: 16.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.2174, allocations: 4 kB / 482.6 MB, free: 16.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2174, allocations: 1.375 kB / 482.6 MB, free: 16.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.2174, allocations: 0 / 482.6 MB, free: 16.73 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003353/0.2208, allocations: 1.157 MB / 483.8 MB, free: 15.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.2208, allocations: 16.8 kB / 483.8 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.127e-05/0.2209, allocations: 46.62 kB / 483.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003201/0.2213, allocations: 322.1 kB / 484.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.2213, allocations: 29.97 kB / 484.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.866e-05/0.2213, allocations: 32.81 kB / 484.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000538/0.2219, allocations: 413 kB / 484.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.2219, allocations: 1.438 kB / 484.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.538e-05/0.2219, allocations: 15.41 kB / 484.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.222, allocations: 5.781 kB / 484.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005082/0.2225, allocations: 413.5 kB / 485.1 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001688/0.2242, allocations: 1.543 MB / 486.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009869/0.2252, allocations: 0.5532 MB / 487.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003195/0.2255, allocations: 284.9 kB / 487.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.544e-05/0.2256, allocations: 15.06 kB / 487.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.2256, allocations: 38.22 kB / 487.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 1.623e-06/0.2256, allocations: 0 / 487.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=46): time 0.004111/0.2297, allocations: 1.65 MB / 489.1 MB, free: 12.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.332e-05/0.2297, allocations: 55.06 kB / 489.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002715/0.23, allocations: 277.7 kB / 489.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/0.2301, allocations: 37.8 kB / 489.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.953e-05/0.2301, allocations: 165.2 kB / 489.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.965e-05/0.2302, allocations: 165.5 kB / 489.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.2304, allocations: 89.86 kB / 489.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.264e-05/0.2304, allocations: 346.9 kB / 490.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003348/0.2308, allocations: 264 kB / 490.5 MB, free: 11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003501/0.2311, allocations: 265 kB / 490.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007267/0.2319, allocations: 0.5841 MB / 491.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2319, allocations: 5.094 kB / 491.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002063/0.2339, allocations: 1.021 MB / 492.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.234, allocations: 5.125 kB / 492.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.234, allocations: 1.219 kB / 492.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001684/0.2357, allocations: 432.6 kB / 492.8 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002765/0.236, allocations: 75 kB / 492.9 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005319/0.2413, allocations: 6.111 MB / 499 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000332/0.2416, allocations: 43.67 kB / 499 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.7e-05/0.2417, allocations: 23.98 kB / 499 MB, free: 3.953 MB / 350.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 (46): * Single equations (assignments): 43 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001614/0.2419, allocations: 157.8 kB / 499.2 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.641e-05/0.2419, allocations: 39.7 kB / 499.2 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001988/0.2439, allocations: 1.005 MB / 0.4885 GB, free: 2.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.2439, allocations: 4 kB / 0.4885 GB, free: 2.727 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.244, allocations: 0 / 0.4885 GB, free: 2.727 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.244, allocations: 4 kB / 0.4885 GB, free: 2.723 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004211/0.2444, allocations: 0.556 MB / 0.4891 GB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.2444, allocations: 0 / 0.4891 GB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.2446, allocations: 59.91 kB / 0.4891 GB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00152/0.2461, allocations: 418.1 kB / 0.4895 GB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.224e-05/0.2461, allocations: 12 kB / 0.4895 GB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006362/0.2525, allocations: 6.038 MB / 0.4954 GB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.2525, allocations: 3.938 kB / 0.4954 GB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002226/0.2548, allocations: 1.025 MB / 0.4964 GB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.2549, allocations: 112.8 kB / 0.4965 GB, free: 9.988 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.604e-05/0.255, allocations: 15.94 kB / 0.4966 GB, free: 9.973 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003575/0.2553, allocations: 34.5 kB / 0.4966 GB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.2554, allocations: 44.31 kB / 0.4966 GB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.039e-05/0.2555, allocations: 16 kB / 0.4967 GB, free: 9.883 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000252/0.2557, allocations: 198 kB / 0.4968 GB, free: 9.688 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2558, allocations: 0 / 0.4968 GB, free: 9.688 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005998/0.2564, allocations: 175.9 kB / 0.497 GB, free: 9.516 MB / 366.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 (37): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002157/0.2566, allocations: 127.2 kB / 0.4971 GB, free: 9.383 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002069/0.2587, allocations: 1.091 MB / 0.4982 GB, free: 8.254 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.2587, allocations: 4 kB / 0.4982 GB, free: 8.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001405/0.2601, allocations: 0.7679 MB / 0.4989 GB, free: 7.445 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004293/0.2605, allocations: 43.22 kB / 0.499 GB, free: 7.406 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.2619, allocations: 0.7822 MB / 0.4998 GB, free: 6.582 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004524/0.2624, allocations: 0.8011 MB / 0.5005 GB, free: 5.758 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.2625, allocations: 39.42 kB / 0.5006 GB, free: 5.723 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2625, allocations: 0 / 0.5006 GB, free: 5.723 MB / 366.1 MB Notification: Performance of Templates: time 0.01371/0.2762, allocations: 9.991 MB / 0.5103 GB, free: 11.73 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.1921160579659045] Failed to read output from testmodel.py, exit status != 0: 0.2833106939215213 0.29564821099999994 0.075781363 Calling exit ...