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.001843/0.001843, allocations: 80.12 kB / 20.55 MB, free: 1.234 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.002154/0.002154, allocations: 168.5 kB / 23.8 MB, free: 4.434 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.384/1.384, allocations: 177.2 MB / 204.2 MB, free: 8.934 MB / 190.1 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.03389/0.03389, allocations: 4.472 MB / 265 MB, free: 12.16 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.001571/0.001571, allocations: 55.92 kB / 390.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09327/0.09484, allocations: 54.99 MB / 445.6 MB, free: 6.762 MB / 414.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors): time 0.002903/0.09774, allocations: 1.592 MB / 447.2 MB, free: 5.168 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002077/0.09982, allocations: 1.462 MB / 448.6 MB, free: 3.691 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.809e-05/0.0999, allocations: 8 kB / 448.7 MB, free: 3.684 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003546/0.1003, allocations: 123.3 kB / 448.8 MB, free: 3.562 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002339/0.1005, allocations: 91.39 kB / 448.9 MB, free: 3.473 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001687/0.1022, allocations: 0.8442 MB / 449.7 MB, free: 2.625 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00032/0.1025, allocations: 227 kB / 449.9 MB, free: 2.402 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000177/0.1027, allocations: 76.33 kB / 450 MB, free: 2.324 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.974e-05/0.1028, allocations: 95.64 kB / 450.1 MB, free: 2.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.103, allocations: 123.4 kB / 450.2 MB, free: 2.109 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.231e-05/0.103, allocations: 20 kB / 450.2 MB, free: 2.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003955/0.1034, allocations: 203.8 kB / 450.4 MB, free: 1.891 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.814e-05/0.1035, allocations: 47.83 kB / 450.5 MB, free: 1.844 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.1036, allocations: 95.53 kB / 450.6 MB, free: 1.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000541/0.1041, allocations: 418.5 kB / 451 MB, free: 1.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1041, allocations: 0 / 451 MB, free: 1.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1041, allocations: 0 / 451 MB, free: 1.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1041, allocations: 0 / 451 MB, free: 1.34 MB / 414.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.002227/0.1063, allocations: 0.6886 MB / 451.7 MB, free: 0.6172 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.1064, allocations: 12.03 kB / 451.7 MB, free: 0.6055 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.971e-05/0.1064, allocations: 24.8 kB / 451.7 MB, free: 0.582 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.1067, allocations: 189.9 kB / 451.9 MB, free: 384 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.1067, allocations: 16.88 kB / 451.9 MB, free: 368 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.088e-05/0.1068, allocations: 28.38 kB / 451.9 MB, free: 340 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000494/0.1072, allocations: 304.5 kB / 452.2 MB, free: 32 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.1073, allocations: 192 / 452.2 MB, free: 32 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.862e-05/0.1073, allocations: 19.88 kB / 452.3 MB, free: 12 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.1073, allocations: 4 kB / 452.3 MB, free: 8 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005027/0.1078, allocations: 298 kB / 452.5 MB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001394/0.1092, allocations: 0.7284 MB / 453.3 MB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005334/0.1097, allocations: 258.5 kB / 453.5 MB, free: 14.7 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001921/0.1099, allocations: 116.8 kB / 453.6 MB, free: 14.58 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.003e-05/0.11, allocations: 8 kB / 453.7 MB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.11, allocations: 42.56 kB / 453.7 MB, free: 14.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=26): time 1.363e-06/0.11, allocations: 0 / 453.7 MB, free: 14.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=26): time 0.001223/0.1113, allocations: 438.6 kB / 454.1 MB, free: 14.08 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.1113, allocations: 59.34 kB / 454.2 MB, free: 14.01 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.1115, allocations: 169 kB / 454.3 MB, free: 13.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.1115, allocations: 29.7 kB / 454.4 MB, free: 13.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.1116, allocations: 148.6 kB / 454.5 MB, free: 13.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.481e-05/0.1117, allocations: 91.17 kB / 454.6 MB, free: 13.57 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.1118, allocations: 61.69 kB / 454.7 MB, free: 13.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.112, allocations: 326.8 kB / 455 MB, free: 13.17 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/0.1122, allocations: 127.8 kB / 455.1 MB, free: 13.05 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.1124, allocations: 129.4 kB / 455.2 MB, free: 12.92 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004309/0.1128, allocations: 273.3 kB / 455.5 MB, free: 12.65 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.1128, allocations: 3.984 kB / 455.5 MB, free: 12.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007628/0.1136, allocations: 398 kB / 455.9 MB, free: 12.25 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.1136, allocations: 8 kB / 455.9 MB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1136, allocations: 7.938 kB / 455.9 MB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002689/0.1139, allocations: 48.81 kB / 456 MB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003374/0.1142, allocations: 59.91 kB / 456 MB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001583/0.1158, allocations: 1.424 MB / 457.4 MB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001871/0.116, allocations: 23.88 kB / 457.5 MB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.116, allocations: 8 kB / 457.5 MB, free: 10.56 MB / 430.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.0001484/0.1161, allocations: 137.8 kB / 457.6 MB, free: 10.42 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.744e-05/0.1162, allocations: 15.84 kB / 457.6 MB, free: 10.4 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006954/0.1169, allocations: 356.4 kB / 458 MB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.1169, allocations: 4 kB / 458 MB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.1169, allocations: 0 / 458 MB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1169, allocations: 0 / 458 MB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.1179, allocations: 0.6241 MB / 458.6 MB, free: 9.379 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.1179, allocations: 0 / 458.6 MB, free: 9.379 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000224/0.1181, allocations: 43.92 kB / 458.6 MB, free: 9.336 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002168/0.1183, allocations: 60.75 kB / 458.7 MB, free: 9.273 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.1184, allocations: 0 / 458.7 MB, free: 9.273 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001473/0.1198, allocations: 1.405 MB / 460.1 MB, free: 7.77 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1198, allocations: 3.938 kB / 460.1 MB, free: 7.766 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006287/0.1205, allocations: 393.1 kB / 460.5 MB, free: 7.363 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.093e-05/0.1205, allocations: 19.84 kB / 460.5 MB, free: 7.344 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.1205, allocations: 7.938 kB / 460.5 MB, free: 7.336 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.1207, allocations: 4.125 kB / 460.5 MB, free: 7.332 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.1207, allocations: 27.95 kB / 460.6 MB, free: 7.305 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.1207, allocations: 4 kB / 460.6 MB, free: 7.301 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001224/0.1209, allocations: 134.1 kB / 460.7 MB, free: 7.172 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1209, allocations: 0 / 460.7 MB, free: 7.172 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003768/0.1212, allocations: 83.84 kB / 460.8 MB, free: 7.09 MB / 430.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.0001885/0.1214, allocations: 111.2 kB / 460.9 MB, free: 6.973 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007898/0.1222, allocations: 406.2 kB / 461.3 MB, free: 6.562 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1222, allocations: 0 / 461.3 MB, free: 6.562 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004641/0.1227, allocations: 235.2 kB / 461.5 MB, free: 6.32 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.1229, allocations: 15.28 kB / 461.5 MB, free: 6.309 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009055/0.1238, allocations: 465.5 kB / 462 MB, free: 5.82 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.124, allocations: 133.2 kB / 462.1 MB, free: 5.672 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001116/0.1241, allocations: 29.55 kB / 462.1 MB, free: 5.645 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.677e-05/0.1241, allocations: 24.48 kB / 462.2 MB, free: 5.621 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1241, allocations: 0 / 462.2 MB, free: 5.621 MB / 430.1 MB Notification: Performance of Templates: time 0.00692/0.1311, allocations: 2.667 MB / 464.8 MB, free: 2.977 MB / 430.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 -s ida -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.323366621974856] Failed to read output from testmodel.py, exit status != 0: 0.1396349429851398 0.15346594500000002 0.046376567 Calling exit ...