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.001312/0.001312, allocations: 105 kB / 20.5 MB, free: 1.465 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.001463/0.001463, allocations: 213.5 kB / 23.8 MB, free: 4.688 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.424/1.424, allocations: 230.6 MB / 257.6 MB, free: 8.031 MB / 206.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.03533/0.03533, allocations: 6.136 MB / 320.1 MB, free: 12.97 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.001567/0.001567, allocations: 51.92 kB / 445.8 MB, free: 4.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09191/0.09348, allocations: 55.03 MB / 0.489 GB, free: 13.79 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors): time 0.00311/0.09659, allocations: 1.757 MB / 0.4908 GB, free: 12.04 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002188/0.09878, allocations: 1.524 MB / 0.4922 GB, free: 10.5 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.09892, allocations: 8 kB / 0.4923 GB, free: 10.49 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004127/0.09934, allocations: 135.2 kB / 0.4924 GB, free: 10.36 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002866/0.09962, allocations: 91.39 kB / 0.4925 GB, free: 10.27 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001801/0.1014, allocations: 0.9142 MB / 0.4934 GB, free: 9.352 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003594/0.1018, allocations: 227 kB / 0.4936 GB, free: 9.129 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.102, allocations: 76.3 kB / 0.4937 GB, free: 9.051 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.1021, allocations: 99.64 kB / 0.4937 GB, free: 8.953 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.1023, allocations: 127.5 kB / 0.4939 GB, free: 8.828 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.79e-05/0.1023, allocations: 24 kB / 0.4939 GB, free: 8.805 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004315/0.1028, allocations: 215.8 kB / 0.4941 GB, free: 8.594 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.265e-05/0.1028, allocations: 55.77 kB / 0.4941 GB, free: 8.539 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.1029, allocations: 111.5 kB / 0.4943 GB, free: 8.43 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005837/0.1035, allocations: 426.5 kB / 0.4947 GB, free: 8.012 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.1035, allocations: 0 / 0.4947 GB, free: 8.012 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1035, allocations: 0 / 0.4947 GB, free: 8.012 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1035, allocations: 0 / 0.4947 GB, free: 8.012 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.00212/0.1057, allocations: 0.6924 MB / 0.4953 GB, free: 7.285 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.1057, allocations: 12.03 kB / 0.4954 GB, free: 7.273 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.83e-05/0.1058, allocations: 28.73 kB / 0.4954 GB, free: 7.246 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.106, allocations: 188.9 kB / 0.4956 GB, free: 7.039 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.106, allocations: 20.88 kB / 0.4956 GB, free: 7.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.944e-05/0.1061, allocations: 24.38 kB / 0.4956 GB, free: 6.996 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005021/0.1066, allocations: 296.6 kB / 0.4959 GB, free: 6.703 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.1066, allocations: 192 / 0.4959 GB, free: 6.703 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.072e-05/0.1066, allocations: 15.94 kB / 0.4959 GB, free: 6.688 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.1066, allocations: 4 kB / 0.4959 GB, free: 6.684 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004976/0.1071, allocations: 305.9 kB / 0.4962 GB, free: 6.379 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.1087, allocations: 0.8487 MB / 0.497 GB, free: 5.488 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005337/0.1092, allocations: 258.5 kB / 0.4973 GB, free: 5.227 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/0.1094, allocations: 112.8 kB / 0.4974 GB, free: 5.113 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.983e-05/0.1095, allocations: 15.98 kB / 0.4974 GB, free: 5.098 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.1095, allocations: 34.56 kB / 0.4974 GB, free: 5.055 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.242e-06/0.1095, allocations: 0 / 0.4974 GB, free: 5.055 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.001228/0.1107, allocations: 442.5 kB / 0.4978 GB, free: 4.613 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.1108, allocations: 55.41 kB / 0.4979 GB, free: 4.547 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.111, allocations: 168.2 kB / 0.4981 GB, free: 4.375 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.111, allocations: 29.7 kB / 0.4981 GB, free: 4.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.1111, allocations: 152.6 kB / 0.4982 GB, free: 4.188 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.617e-05/0.1112, allocations: 91.2 kB / 0.4983 GB, free: 4.098 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.1113, allocations: 69.64 kB / 0.4984 GB, free: 4.023 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1114, allocations: 326.8 kB / 0.4987 GB, free: 3.695 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/0.1116, allocations: 124 kB / 0.4988 GB, free: 3.574 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.1118, allocations: 124.8 kB / 0.4989 GB, free: 3.453 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004356/0.1123, allocations: 281.1 kB / 0.4992 GB, free: 3.176 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1123, allocations: 4 kB / 0.4992 GB, free: 3.172 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007378/0.113, allocations: 390.2 kB / 0.4996 GB, free: 2.781 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.113, allocations: 8 kB / 0.4996 GB, free: 2.773 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.113, allocations: 0 / 0.4996 GB, free: 2.773 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002881/0.1133, allocations: 56.81 kB / 0.4996 GB, free: 2.715 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003424/0.1137, allocations: 63.89 kB / 0.4997 GB, free: 2.652 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001607/0.1153, allocations: 1.455 MB / 0.5011 GB, free: 1.078 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001871/0.1155, allocations: 23.81 kB / 0.5011 GB, free: 1.055 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/0.1155, allocations: 12 kB / 0.5012 GB, free: 1.043 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.0001507/0.1156, allocations: 141.8 kB / 0.5013 GB, free: 0.8945 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.971e-05/0.1157, allocations: 15.91 kB / 0.5013 GB, free: 0.8789 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006982/0.1164, allocations: 336.5 kB / 0.5016 GB, free: 0.543 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.1164, allocations: 7.938 kB / 0.5016 GB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.1164, allocations: 0 / 0.5016 GB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.1164, allocations: 3.984 kB / 0.5016 GB, free: 0.5312 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.1175, allocations: 0.7134 MB / 0.5023 GB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1175, allocations: 0 / 0.5023 GB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002281/0.1177, allocations: 43.98 kB / 0.5024 GB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002133/0.118, allocations: 48.81 kB / 0.5024 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.24e-05/0.118, allocations: 12 kB / 0.5024 GB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0015/0.1195, allocations: 1.44 MB / 0.5038 GB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1195, allocations: 4.062 kB / 0.5038 GB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006304/0.1201, allocations: 396.9 kB / 0.5042 GB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.159e-05/0.1201, allocations: 19.78 kB / 0.5042 GB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.124e-05/0.1202, allocations: 8 kB / 0.5043 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.1203, allocations: 4 kB / 0.5043 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.1204, allocations: 19.91 kB / 0.5043 GB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.1204, allocations: 12 kB / 0.5043 GB, free: 13.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001203/0.1205, allocations: 134.7 kB / 0.5044 GB, free: 13.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1205, allocations: 0 / 0.5044 GB, free: 13.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003933/0.1209, allocations: 79.83 kB / 0.5045 GB, free: 13.42 MB / 382.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.0001921/0.1211, allocations: 119.1 kB / 0.5046 GB, free: 13.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008288/0.1219, allocations: 390.2 kB / 0.505 GB, free: 12.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1219, allocations: 0 / 0.505 GB, free: 12.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004886/0.1224, allocations: 242.6 kB / 0.5052 GB, free: 12.65 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.1227, allocations: 15.94 kB / 0.5052 GB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009808/0.1237, allocations: 486.9 kB / 0.5057 GB, free: 12.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/0.1241, allocations: 0.7437 MB / 0.5064 GB, free: 11.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.492e-05/0.1242, allocations: 27.42 kB / 0.5064 GB, free: 11.33 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1242, allocations: 0 / 0.5064 GB, free: 11.33 MB / 382.1 MB Notification: Performance of Templates: time 0.006606/0.1308, allocations: 4.047 MB / 0.5104 GB, free: 7.285 MB / 382.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.339689760003239] Failed to read output from testmodel.py, exit status != 0: 0.13832205696962774 0.300966236 0.194441142 Calling exit ...