Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.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.001538/0.001538, allocations: 114.8 kB / 17.85 MB, free: 5.219 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.001313/0.001313, allocations: 187.7 kB / 20.79 MB, free: 2.285 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.42/1.42, allocations: 225.6 MB / 249.2 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] 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.05034/0.05034, allocations: 8.223 MB / 312.3 MB, free: 2.098 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.OneEmergencySourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad") translateModel(PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 67.89 kB / 435.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2239, allocations: 54.35 MB / 489.5 MB, free: 27.6 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad): time 0.002429/0.2264, allocations: 1.579 MB / 491.1 MB, free: 26.38 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001577/0.228, allocations: 1.563 MB / 492.6 MB, free: 25.12 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.496e-05/0.228, allocations: 3.188 kB / 492.6 MB, free: 25.12 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003248/0.2284, allocations: 125 kB / 492.8 MB, free: 25.04 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002603/0.2286, allocations: 117.4 kB / 492.9 MB, free: 24.94 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo:34:7-34:67:writable] Warning: In relation pv.rampTime == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001319/0.2299, allocations: 0.9329 MB / 493.8 MB, free: 24.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002755/0.2302, allocations: 249.8 kB / 494 MB, free: 24.11 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.2303, allocations: 56.92 kB / 494.1 MB, free: 24.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.371e-05/0.2304, allocations: 101 kB / 494.2 MB, free: 24.02 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.2306, allocations: 132.8 kB / 494.3 MB, free: 23.93 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.607e-05/0.2306, allocations: 19.25 kB / 494.3 MB, free: 23.93 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003377/0.231, allocations: 209.3 kB / 494.6 MB, free: 23.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.095e-05/0.231, allocations: 51.3 kB / 494.6 MB, free: 23.8 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.443e-05/0.2311, allocations: 115.3 kB / 494.7 MB, free: 23.72 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004258/0.2315, allocations: 405.5 kB / 495.1 MB, free: 23.46 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2315, allocations: 2 kB / 495.1 MB, free: 23.46 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2315, allocations: 0 / 495.1 MB, free: 23.46 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.2315, allocations: 0 / 495.1 MB, free: 23.46 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.002356/0.2339, allocations: 0.8226 MB / 495.9 MB, free: 22.83 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.2339, allocations: 13.48 kB / 495.9 MB, free: 22.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.495e-05/0.234, allocations: 25.17 kB / 496 MB, free: 22.81 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.2343, allocations: 261.4 kB / 496.2 MB, free: 22.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.2343, allocations: 12.62 kB / 496.2 MB, free: 22.53 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.234e-05/0.2343, allocations: 20.75 kB / 496.3 MB, free: 22.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004177/0.2348, allocations: 257 kB / 496.5 MB, free: 22.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.2348, allocations: 5.531 kB / 496.5 MB, free: 22.36 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.947e-05/0.2348, allocations: 17.27 kB / 496.5 MB, free: 22.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.2348, allocations: 8.062 kB / 496.5 MB, free: 22.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00036/0.2352, allocations: 249.6 kB / 496.8 MB, free: 22.21 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.2364, allocations: 1.139 MB / 497.9 MB, free: 21.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003786/0.2368, allocations: 277.1 kB / 498.2 MB, free: 20.96 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/0.237, allocations: 139.8 kB / 498.3 MB, free: 20.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.522e-05/0.237, allocations: 4.047 kB / 498.3 MB, free: 20.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003546/0.2374, allocations: 225.1 kB / 498.6 MB, free: 20.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 1.423e-06/0.2374, allocations: 0 / 498.6 MB, free: 20.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.00282/0.2402, allocations: 0.9258 MB / 499.5 MB, free: 20.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.2402, allocations: 52.47 kB / 499.5 MB, free: 20.1 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.2404, allocations: 193.9 kB / 499.7 MB, free: 19.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.2404, allocations: 32.39 kB / 499.8 MB, free: 19.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.249e-05/0.2405, allocations: 123.5 kB / 499.9 MB, free: 19.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.817e-05/0.2405, allocations: 103.4 kB / 500 MB, free: 19.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.2406, allocations: 63.78 kB / 0.4883 GB, free: 19.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.1e-05/0.2407, allocations: 332 kB / 0.4886 GB, free: 19.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/0.2409, allocations: 149.1 kB / 0.4888 GB, free: 19.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002533/0.2411, allocations: 189.9 kB / 0.489 GB, free: 19.13 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004969/0.2416, allocations: 365.4 kB / 0.4893 GB, free: 18.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.2416, allocations: 0 / 0.4893 GB, free: 18.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001636/0.2433, allocations: 0.6391 MB / 0.4899 GB, free: 18.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.2433, allocations: 6.438 kB / 0.4899 GB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.2433, allocations: 0 / 0.4899 GB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001669/0.245, allocations: 338.3 kB / 0.4903 GB, free: 18.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/0.2452, allocations: 49.91 kB / 0.4903 GB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00365/0.2489, allocations: 2.636 MB / 0.4929 GB, free: 16.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/0.2491, allocations: 25.38 kB / 0.4929 GB, free: 16.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.205e-05/0.2491, allocations: 15.98 kB / 0.4929 GB, free: 16.13 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001345/0.2492, allocations: 144.1 kB / 0.4931 GB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.034e-05/0.2493, allocations: 26.27 kB / 0.4931 GB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001699/0.251, allocations: 0.6406 MB / 0.4937 GB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.251, allocations: 7.062 kB / 0.4937 GB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.251, allocations: 1.094 kB / 0.4937 GB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.251, allocations: 3.984 kB / 0.4937 GB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000268/0.2513, allocations: 396 kB / 0.4941 GB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2513, allocations: 4 kB / 0.4941 GB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.2514, allocations: 44.8 kB / 0.4941 GB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001531/0.253, allocations: 340.2 kB / 0.4945 GB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/0.253, allocations: 6.469 kB / 0.4945 GB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0032/0.2562, allocations: 2.617 MB / 0.497 GB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.2562, allocations: 5.109 kB / 0.497 GB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00154/0.2577, allocations: 0.6221 MB / 0.4976 GB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.332e-05/0.2578, allocations: 104.1 kB / 0.4977 GB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.275e-05/0.2578, allocations: 5.438 kB / 0.4977 GB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.258, allocations: 16.05 kB / 0.4978 GB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.764e-05/0.2581, allocations: 23.66 kB / 0.4978 GB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.87e-05/0.2581, allocations: 15.2 kB / 0.4978 GB, free: 12.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.9e-05/0.2582, allocations: 132.3 kB / 0.4979 GB, free: 12.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2582, allocations: 4 kB / 0.4979 GB, free: 12.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000414/0.2586, allocations: 91.47 kB / 0.498 GB, free: 12.17 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 26 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001642/0.2588, allocations: 122.2 kB / 0.4981 GB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001328/0.2601, allocations: 0.598 MB / 0.4987 GB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2601, allocations: 1.094 kB / 0.4987 GB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009385/0.2611, allocations: 415.4 kB / 0.4991 GB, free: 11.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.2613, allocations: 32.28 kB / 0.4991 GB, free: 11.42 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008051/0.2622, allocations: 0.5401 MB / 0.4997 GB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.2623, allocations: 0.7469 MB / 0.5004 GB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.75e-05/0.2624, allocations: 31.08 kB / 0.5004 GB, free: 10.3 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2624, allocations: 0 / 0.5004 GB, free: 10.3 MB / 366.1 MB Notification: Performance of Templates: time 0.006487/0.2689, allocations: 4.779 MB / 0.5051 GB, free: 7.816 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.0800531229469925] Failed to read output from testmodel.py, exit status != 0: 0.27605150383897126 0.286166333 0.051855211000000005 Calling exit ...