Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.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.001929/0.001929, allocations: 70.98 kB / 19.97 MB, free: 1.73 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.002174/0.002174, allocations: 173.4 kB / 23.26 MB, free: 4.855 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.475/1.475, allocations: 177.1 MB / 203.6 MB, free: 9.16 MB / 190.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.04059/0.04059, allocations: 4.48 MB / 264.4 MB, free: 12.2 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.OneSouceOneLineOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource") translateModel(PowerSysPro.Examples.OneSouceOneLineOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 390.1 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.024e-05/3.15e-05, allocations: 2.281 kB / 390.1 MB, free: 12.63 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSouceOneLineOneSource): time 0.002112/0.002144, allocations: 1.034 MB / 391.1 MB, free: 11.6 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00209/0.004234, allocations: 1.45 MB / 392.6 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.925e-05/0.004323, allocations: 7.938 kB / 392.6 MB, free: 10.13 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003922/0.004715, allocations: 95.38 kB / 392.7 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000249/0.004964, allocations: 67.53 kB / 392.8 MB, free: 9.969 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001218/0.006182, allocations: 0.556 MB / 393.3 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002806/0.006462, allocations: 147.2 kB / 393.5 MB, free: 9.266 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.006604, allocations: 37 kB / 393.5 MB, free: 9.227 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.006723, allocations: 79.81 kB / 393.6 MB, free: 9.148 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.006833, allocations: 55.8 kB / 393.6 MB, free: 9.094 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.033e-05/0.006863, allocations: 12 kB / 393.6 MB, free: 9.082 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003436/0.007207, allocations: 159.7 kB / 393.8 MB, free: 8.926 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.215e-05/0.007249, allocations: 27.84 kB / 393.8 MB, free: 8.898 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.81e-05/0.007317, allocations: 43.84 kB / 393.9 MB, free: 8.855 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004964/0.007813, allocations: 287.1 kB / 394.1 MB, free: 8.574 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.007818, allocations: 8 kB / 394.2 MB, free: 8.566 MB / 318.1 MB Notification: Performance of FrontEnd: time 6.21e-07/0.007819, allocations: 0 / 394.2 MB, free: 8.566 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.007829, allocations: 0 / 394.2 MB, free: 8.566 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001772/0.009601, allocations: 0.521 MB / 394.7 MB, free: 8.012 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.009635, allocations: 8.031 kB / 394.7 MB, free: 8.004 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.33e-05/0.009708, allocations: 20.78 kB / 394.7 MB, free: 7.984 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.009943, allocations: 156.7 kB / 394.9 MB, free: 7.809 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.009957, allocations: 8.609 kB / 394.9 MB, free: 7.801 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.293e-05/0.00999, allocations: 12.38 kB / 394.9 MB, free: 7.789 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000363/0.01035, allocations: 198.4 kB / 395.1 MB, free: 7.586 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.01036, allocations: 4.188 kB / 395.1 MB, free: 7.582 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.48e-05/0.01039, allocations: 8.375 kB / 395.1 MB, free: 7.574 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.0104, allocations: 4.375 kB / 395.1 MB, free: 7.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002842/0.01068, allocations: 167.8 kB / 395.2 MB, free: 7.406 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009765/0.01166, allocations: 472 kB / 395.7 MB, free: 6.914 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003214/0.01198, allocations: 146.5 kB / 395.9 MB, free: 6.762 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.0121, allocations: 68.78 kB / 395.9 MB, free: 6.691 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.787e-05/0.01215, allocations: 4 kB / 395.9 MB, free: 6.688 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.01218, allocations: 34.56 kB / 396 MB, free: 6.645 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.01218, allocations: 0 / 396 MB, free: 6.645 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.001103/0.01328, allocations: 310 kB / 396.3 MB, free: 6.336 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.01333, allocations: 59.28 kB / 396.3 MB, free: 6.266 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/0.01354, allocations: 177.7 kB / 396.5 MB, free: 6.082 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.01357, allocations: 29.7 kB / 396.5 MB, free: 6.047 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.416e-05/0.01367, allocations: 116.4 kB / 396.6 MB, free: 5.926 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.498e-05/0.01372, allocations: 55.56 kB / 396.7 MB, free: 5.871 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.512e-05/0.01382, allocations: 45.7 kB / 396.7 MB, free: 5.82 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.01397, allocations: 318.8 kB / 397 MB, free: 5.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.01415, allocations: 91.97 kB / 397.1 MB, free: 5.41 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.01431, allocations: 102.9 kB / 397.2 MB, free: 5.312 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003291/0.01464, allocations: 188.8 kB / 397.4 MB, free: 5.125 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.01464, allocations: 0 / 397.4 MB, free: 5.125 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006364/0.01528, allocations: 313 kB / 397.7 MB, free: 4.812 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.0153, allocations: 7.984 kB / 397.7 MB, free: 4.805 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.0153, allocations: 4 kB / 397.7 MB, free: 4.801 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003214/0.01562, allocations: 44.83 kB / 397.8 MB, free: 4.754 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.01583, allocations: 39.97 kB / 397.8 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001732/0.01757, allocations: 1.401 MB / 399.2 MB, free: 3.215 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.01772, allocations: 19.86 kB / 399.2 MB, free: 3.195 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.01774, allocations: 7.984 kB / 399.2 MB, free: 3.188 MB / 318.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 (22): * Single equations (assignments): 21 * 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.0001412/0.01788, allocations: 133.7 kB / 399.4 MB, free: 3.047 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.985e-05/0.01793, allocations: 11.91 kB / 399.4 MB, free: 3.035 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005548/0.01848, allocations: 235.2 kB / 399.6 MB, free: 2.797 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.01849, allocations: 96 / 399.6 MB, free: 2.797 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.01849, allocations: 8 kB / 399.6 MB, free: 2.789 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.01849, allocations: 3.938 kB / 399.6 MB, free: 2.785 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002498/0.01874, allocations: 185.1 kB / 399.8 MB, free: 2.574 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.01875, allocations: 0 / 399.8 MB, free: 2.574 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.275e-05/0.01884, allocations: 23.92 kB / 399.8 MB, free: 2.551 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002251/0.01906, allocations: 44.83 kB / 399.9 MB, free: 2.504 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.01908, allocations: 4 kB / 399.9 MB, free: 2.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001562/0.02064, allocations: 1.405 MB / 401.3 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.02064, allocations: 0 / 401.3 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000527/0.02117, allocations: 312.2 kB / 401.6 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.575e-05/0.0212, allocations: 11.91 kB / 401.6 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.02122, allocations: 4.156 kB / 401.6 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.02136, allocations: 4 kB / 401.6 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/0.02139, allocations: 11.97 kB / 401.6 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.02141, allocations: 4 kB / 401.6 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000123/0.02153, allocations: 131.2 kB / 401.8 MB, free: 0.5 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.02153, allocations: 0 / 401.8 MB, free: 0.5 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003606/0.02189, allocations: 51.94 kB / 401.8 MB, free: 460 kB / 318.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 (12): * Single equations (assignments): 11 * 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.0002112/0.0221, allocations: 118.4 kB / 401.9 MB, free: 336 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007192/0.02282, allocations: 301 kB / 402.2 MB, free: 24 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.02282, allocations: 0 / 402.2 MB, free: 24 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004338/0.02326, allocations: 206.6 kB / 402.4 MB, free: 15.8 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.02353, allocations: 7.938 kB / 402.4 MB, free: 15.8 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006832/0.02421, allocations: 291.6 kB / 402.7 MB, free: 15.49 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.02431, allocations: 105.7 kB / 402.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.706e-05/0.0244, allocations: 20.62 kB / 402.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.992e-05/0.02445, allocations: 16.5 kB / 402.8 MB, free: 15.33 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.02445, allocations: 0 / 402.8 MB, free: 15.33 MB / 334.1 MB Notification: Performance of Templates: time 0.005985/0.03044, allocations: 2.185 MB / 405 MB, free: 13.17 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.sim & ./PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.418981324881315] Failed to read output from testmodel.py, exit status != 0: 0.03922075033187866 0.055238317 0.044228477 Calling exit ...