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.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.001262/0.001262, allocations: 118.7 kB / 17.85 MB, free: 5.074 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.001302/0.001302, allocations: 191.8 kB / 20.79 MB, free: 2.141 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.418/1.418, allocations: 225.6 MB / 249.2 MB, free: 3.605 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.05056/0.05056, allocations: 8.227 MB / 312.3 MB, free: 2.012 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.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.003138/0.003138, allocations: 63.91 kB / 435.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2701, allocations: 54.36 MB / 489.5 MB, free: 27.6 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors): time 0.002696/0.2728, allocations: 1.787 MB / 491.3 MB, free: 26.22 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001845/0.2746, allocations: 1.487 MB / 492.8 MB, free: 25.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001806/0.2748, allocations: 3.906 kB / 492.8 MB, free: 25.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004123/0.2752, allocations: 127.1 kB / 492.9 MB, free: 24.93 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003242/0.2755, allocations: 98.16 kB / 493 MB, free: 24.85 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001441/0.277, allocations: 0.9455 MB / 493.9 MB, free: 24.15 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003333/0.2773, allocations: 229.8 kB / 494.2 MB, free: 24.02 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.2775, allocations: 89.97 kB / 494.2 MB, free: 23.95 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.2776, allocations: 98.27 kB / 494.3 MB, free: 23.9 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000207/0.2778, allocations: 146.9 kB / 494.5 MB, free: 23.8 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.015e-05/0.2778, allocations: 22.16 kB / 494.5 MB, free: 23.8 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004132/0.2782, allocations: 210.2 kB / 494.7 MB, free: 23.71 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.51e-05/0.2783, allocations: 51.64 kB / 494.8 MB, free: 23.67 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.2784, allocations: 129 kB / 494.9 MB, free: 23.58 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004767/0.2789, allocations: 406.6 kB / 495.3 MB, free: 23.32 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2789, allocations: 0 / 495.3 MB, free: 23.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2789, allocations: 1.188 kB / 495.3 MB, free: 23.32 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.2789, allocations: 0 / 495.3 MB, free: 23.32 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.002004/0.2809, allocations: 0.7746 MB / 496.1 MB, free: 22.71 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.2809, allocations: 13.48 kB / 496.1 MB, free: 22.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.694e-05/0.281, allocations: 29.12 kB / 496.1 MB, free: 22.69 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.2812, allocations: 239.2 kB / 496.3 MB, free: 22.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.2812, allocations: 19.94 kB / 496.4 MB, free: 22.42 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.642e-05/0.2812, allocations: 28.88 kB / 496.4 MB, free: 22.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004359/0.2817, allocations: 300.6 kB / 496.7 MB, free: 22.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.2817, allocations: 3.938 kB / 496.7 MB, free: 22.22 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/0.2817, allocations: 10.72 kB / 496.7 MB, free: 22.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.2817, allocations: 6.438 kB / 496.7 MB, free: 22.21 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004118/0.2821, allocations: 290.8 kB / 497 MB, free: 22.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.2833, allocations: 0.8841 MB / 497.9 MB, free: 21.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000465/0.2837, allocations: 273.4 kB / 498.1 MB, free: 21.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.2839, allocations: 118.8 kB / 498.2 MB, free: 21.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.672e-05/0.284, allocations: 11.98 kB / 498.3 MB, free: 21.11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.284, allocations: 43.58 kB / 498.3 MB, free: 21.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.783e-06/0.284, allocations: 1.156 kB / 498.3 MB, free: 21.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.001154/0.2851, allocations: 0.5201 MB / 498.8 MB, free: 20.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.2852, allocations: 54.94 kB / 498.9 MB, free: 20.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.2853, allocations: 161 kB / 499 MB, free: 20.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.2853, allocations: 30.83 kB / 499.1 MB, free: 20.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.282e-05/0.2853, allocations: 155.3 kB / 499.2 MB, free: 20.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.513e-05/0.2854, allocations: 94.17 kB / 499.3 MB, free: 20.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.357e-05/0.2855, allocations: 59.84 kB / 499.4 MB, free: 20.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.347e-05/0.2855, allocations: 321.6 kB / 499.7 MB, free: 19.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.2857, allocations: 137.7 kB / 499.8 MB, free: 19.81 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.2859, allocations: 131.4 kB / 499.9 MB, free: 19.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003824/0.2863, allocations: 287.6 kB / 0.4885 GB, free: 19.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.2863, allocations: 3.938 kB / 0.4885 GB, free: 19.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006402/0.2869, allocations: 402.7 kB / 0.4889 GB, free: 19.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.2869, allocations: 4.625 kB / 0.4889 GB, free: 19.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2869, allocations: 1.062 kB / 0.4889 GB, free: 19.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002815/0.2872, allocations: 57.72 kB / 0.4889 GB, free: 19.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002832/0.2875, allocations: 61.31 kB / 0.489 GB, free: 19.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001098/0.2886, allocations: 1.541 MB / 0.4905 GB, free: 17.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.2888, allocations: 20.94 kB / 0.4905 GB, free: 17.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.2888, allocations: 9.906 kB / 0.4905 GB, free: 17.75 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.0001054/0.2889, allocations: 140.1 kB / 0.4907 GB, free: 17.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.986e-05/0.289, allocations: 19.69 kB / 0.4907 GB, free: 17.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00064/0.2896, allocations: 351.3 kB / 0.491 GB, free: 17.37 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.2896, allocations: 2.375 kB / 0.491 GB, free: 17.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.2896, allocations: 1 kB / 0.491 GB, free: 17.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.2896, allocations: 3.984 kB / 0.491 GB, free: 17.37 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003096/0.2899, allocations: 367.8 kB / 0.4914 GB, free: 17.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2899, allocations: 0 / 0.4914 GB, free: 17.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/0.2901, allocations: 43.61 kB / 0.4914 GB, free: 17.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002087/0.2903, allocations: 50.25 kB / 0.4915 GB, free: 16.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.2903, allocations: 5.094 kB / 0.4915 GB, free: 16.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009874/0.2913, allocations: 1.54 MB / 0.493 GB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2913, allocations: 7.875 kB / 0.493 GB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005252/0.2918, allocations: 398.3 kB / 0.4934 GB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.619e-05/0.2919, allocations: 94.42 kB / 0.4935 GB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.2919, allocations: 9.219 kB / 0.4935 GB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.2921, allocations: 9.297 kB / 0.4935 GB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.2921, allocations: 20.81 kB / 0.4935 GB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.2921, allocations: 8.875 kB / 0.4935 GB, free: 15.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.084e-05/0.2922, allocations: 129.2 kB / 0.4936 GB, free: 14.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2922, allocations: 0 / 0.4936 GB, free: 14.92 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003898/0.2926, allocations: 84.58 kB / 0.4937 GB, free: 14.9 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 (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.0001597/0.2927, allocations: 124.4 kB / 0.4938 GB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007166/0.2935, allocations: 400.1 kB / 0.4942 GB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2935, allocations: 1.219 kB / 0.4942 GB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004236/0.2939, allocations: 247.7 kB / 0.4944 GB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.2941, allocations: 11.44 kB / 0.4945 GB, free: 14.35 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007638/0.2949, allocations: 481.6 kB / 0.4949 GB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/0.295, allocations: 0.7433 MB / 0.4956 GB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.699e-05/0.2951, allocations: 29.45 kB / 0.4957 GB, free: 13.27 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2951, allocations: 1.312 kB / 0.4957 GB, free: 13.27 MB / 366.1 MB Notification: Performance of Templates: time 0.005619/0.3007, allocations: 4.136 MB / 0.4997 GB, free: 11.09 MB / 366.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: 7.099817459937185] Failed to read output from testmodel.py, exit status != 0: 0.3102094379719347 0.317299999 0.036307488 Calling exit ...