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.001648/0.001648, allocations: 109.6 kB / 18.37 MB, free: 3.926 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.001741/0.001741, allocations: 192.4 kB / 21.55 MB, free: 0.7539 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.493/1.493, allocations: 225.6 MB / 250.2 MB, free: 3.129 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06942/0.06942, allocations: 8.243 MB / 313.5 MB, free: 1.785 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/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.002905/0.002905, allocations: 67.89 kB / 437.3 MB, free: 9.547 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2921, allocations: 54.34 MB / 491.7 MB, free: 27.52 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors): time 0.002537/0.2946, allocations: 1.801 MB / 493.5 MB, free: 26.12 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.2961, allocations: 1.489 MB / 495 MB, free: 24.92 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.275e-05/0.2962, allocations: 4.125 kB / 495 MB, free: 24.92 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003387/0.2965, allocations: 126 kB / 495.1 MB, free: 24.84 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002441/0.2968, allocations: 98.44 kB / 495.2 MB, free: 24.75 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001284/0.298, allocations: 0.9407 MB / 496.1 MB, free: 24.06 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002568/0.2983, allocations: 239 kB / 496.4 MB, free: 23.92 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.2985, allocations: 86.08 kB / 496.4 MB, free: 23.86 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.114e-05/0.2985, allocations: 106.5 kB / 496.6 MB, free: 23.79 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001703/0.2987, allocations: 138.3 kB / 496.7 MB, free: 23.71 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.401e-05/0.2987, allocations: 21.06 kB / 496.7 MB, free: 23.71 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003286/0.2991, allocations: 211.1 kB / 496.9 MB, free: 23.62 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.165e-05/0.2991, allocations: 52.58 kB / 497 MB, free: 23.57 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.882e-05/0.2992, allocations: 127.8 kB / 497.1 MB, free: 23.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000422/0.2996, allocations: 402.7 kB / 497.5 MB, free: 23.23 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2996, allocations: 5.469 kB / 497.5 MB, free: 23.22 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.2996, allocations: 4 kB / 497.5 MB, free: 23.22 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.2996, allocations: 0 / 497.5 MB, free: 23.22 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.001885/0.3015, allocations: 0.7708 MB / 498.3 MB, free: 22.61 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.3015, allocations: 9.469 kB / 498.3 MB, free: 22.61 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.96e-05/0.3016, allocations: 29.22 kB / 498.3 MB, free: 22.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.3018, allocations: 241.4 kB / 498.5 MB, free: 22.34 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.3018, allocations: 19.81 kB / 498.6 MB, free: 22.33 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.173e-05/0.3018, allocations: 25.09 kB / 498.6 MB, free: 22.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004212/0.3023, allocations: 305.1 kB / 498.9 MB, free: 22.13 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.3023, allocations: 7.875 kB / 498.9 MB, free: 22.12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.645e-05/0.3023, allocations: 10.75 kB / 498.9 MB, free: 22.12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.447e-06/0.3023, allocations: 6.375 kB / 498.9 MB, free: 22.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003798/0.3027, allocations: 290.7 kB / 499.2 MB, free: 21.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.3038, allocations: 0.8877 MB / 0.4884 GB, free: 21.24 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004365/0.3042, allocations: 266 kB / 0.4886 GB, free: 21.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.3044, allocations: 125.7 kB / 0.4887 GB, free: 21.01 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.538e-05/0.3045, allocations: 8.859 kB / 0.4887 GB, free: 21.01 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.3045, allocations: 39.88 kB / 0.4888 GB, free: 20.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.663e-06/0.3045, allocations: 0 / 0.4888 GB, free: 20.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.001097/0.3056, allocations: 0.5163 MB / 0.4893 GB, free: 20.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.3056, allocations: 63.25 kB / 0.4893 GB, free: 20.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.3058, allocations: 163.9 kB / 0.4895 GB, free: 20.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.3058, allocations: 30.77 kB / 0.4895 GB, free: 20.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.34e-05/0.3058, allocations: 154.6 kB / 0.4897 GB, free: 20.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.709e-05/0.3059, allocations: 93.33 kB / 0.4898 GB, free: 20.15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.534e-05/0.306, allocations: 64.11 kB / 0.4898 GB, free: 20.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.147e-05/0.306, allocations: 322.3 kB / 0.4901 GB, free: 19.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.3062, allocations: 128.6 kB / 0.4903 GB, free: 19.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/0.3064, allocations: 131.2 kB / 0.4904 GB, free: 19.65 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003609/0.3067, allocations: 290.4 kB / 0.4907 GB, free: 19.49 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3067, allocations: 3.938 kB / 0.4907 GB, free: 19.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006249/0.3074, allocations: 403.5 kB / 0.491 GB, free: 19.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.3074, allocations: 4.562 kB / 0.491 GB, free: 19.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.3074, allocations: 1.094 kB / 0.491 GB, free: 19.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000285/0.3077, allocations: 57.81 kB / 0.4911 GB, free: 19.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002669/0.3079, allocations: 60.47 kB / 0.4912 GB, free: 19.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/0.309, allocations: 1.545 MB / 0.4927 GB, free: 17.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.3092, allocations: 21.44 kB / 0.4927 GB, free: 17.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/0.3092, allocations: 10.81 kB / 0.4927 GB, free: 17.64 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.0001012/0.3093, allocations: 144 kB / 0.4928 GB, free: 17.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.554e-05/0.3094, allocations: 18.88 kB / 0.4929 GB, free: 17.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005935/0.31, allocations: 347.2 kB / 0.4932 GB, free: 17.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.31, allocations: 4.031 kB / 0.4932 GB, free: 17.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.31, allocations: 0 / 0.4932 GB, free: 17.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.31, allocations: 3.984 kB / 0.4932 GB, free: 17.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002854/0.3103, allocations: 360.4 kB / 0.4935 GB, free: 16.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3103, allocations: 0 / 0.4935 GB, free: 16.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/0.3104, allocations: 51.89 kB / 0.4936 GB, free: 16.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001841/0.3106, allocations: 45.3 kB / 0.4936 GB, free: 16.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.3106, allocations: 9.203 kB / 0.4936 GB, free: 16.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009511/0.3116, allocations: 1.544 MB / 0.4951 GB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.3116, allocations: 3.938 kB / 0.4952 GB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005088/0.3121, allocations: 402.3 kB / 0.4955 GB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.475e-05/0.3121, allocations: 94.14 kB / 0.4956 GB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.3122, allocations: 9.812 kB / 0.4956 GB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.3123, allocations: 4.906 kB / 0.4956 GB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.723e-05/0.3124, allocations: 16.28 kB / 0.4957 GB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.3124, allocations: 8.656 kB / 0.4957 GB, free: 14.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.429e-05/0.3125, allocations: 134.4 kB / 0.4958 GB, free: 14.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3125, allocations: 0 / 0.4958 GB, free: 14.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003855/0.3128, allocations: 85.11 kB / 0.4959 GB, free: 14.8 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.000183/0.313, allocations: 119.8 kB / 0.496 GB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006924/0.3137, allocations: 404 kB / 0.4964 GB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3137, allocations: 0 / 0.4964 GB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003649/0.3141, allocations: 244.4 kB / 0.4966 GB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.3143, allocations: 20.84 kB / 0.4966 GB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007923/0.3151, allocations: 453.5 kB / 0.4971 GB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001542/0.3153, allocations: 0.7436 MB / 0.4978 GB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001075/0.3154, allocations: 34.88 kB / 0.4978 GB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.051e-05/0.3154, allocations: 22.66 kB / 0.4978 GB, free: 13.18 MB / 366.1 MB Notification: Performance of SimCode: time 8.12e-07/0.3154, allocations: 1.188 kB / 0.4978 GB, free: 13.18 MB / 366.1 MB Notification: Performance of Templates: time 0.006244/0.3217, allocations: 2.883 MB / 0.5007 GB, free: 11.74 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: 4.8675167337059975]