Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.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.00159/0.00159, allocations: 113 kB / 20.5 MB, free: 1.473 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.001504/0.001504, allocations: 216.7 kB / 23.8 MB, free: 4.691 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.436/1.436, allocations: 230.6 MB / 257.6 MB, free: 8.035 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.0351/0.0351, allocations: 6.144 MB / 320.1 MB, free: 13.05 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.OneSourceThreeLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads") translateModel(PowerSysPro.Examples.OneSourceThreeLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 55.91 kB / 445.7 MB, free: 4.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09533/0.09693, allocations: 55.04 MB / 0.489 GB, free: 13.84 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLoads): time 0.003443/0.1004, allocations: 2.195 MB / 0.4912 GB, free: 11.64 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002383/0.1028, allocations: 1.73 MB / 0.4929 GB, free: 9.898 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.1029, allocations: 4 kB / 0.4929 GB, free: 9.895 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003979/0.1033, allocations: 155.1 kB / 0.493 GB, free: 9.742 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003919/0.1037, allocations: 182.8 kB / 0.4932 GB, free: 9.562 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001833/0.1055, allocations: 0.9583 MB / 0.4941 GB, free: 8.602 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005407/0.106, allocations: 414 kB / 0.4945 GB, free: 8.195 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001973/0.1062, allocations: 99.62 kB / 0.4946 GB, free: 8.094 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.1064, allocations: 171.3 kB / 0.4948 GB, free: 7.926 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003095/0.1067, allocations: 223.1 kB / 0.495 GB, free: 7.707 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.589e-05/0.1068, allocations: 32 kB / 0.495 GB, free: 7.676 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000393/0.1072, allocations: 227.8 kB / 0.4953 GB, free: 7.453 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.501e-05/0.1072, allocations: 83.62 kB / 0.4953 GB, free: 7.371 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001877/0.1074, allocations: 195 kB / 0.4955 GB, free: 7.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006736/0.1081, allocations: 0.5449 MB / 0.4961 GB, free: 6.633 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1081, allocations: 3.938 kB / 0.4961 GB, free: 6.629 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1081, allocations: 4 kB / 0.4961 GB, free: 6.625 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1081, allocations: 3.938 kB / 0.4961 GB, free: 6.621 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003776/0.1119, allocations: 1.074 MB / 0.4971 GB, free: 5.512 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.1119, allocations: 15.98 kB / 0.4971 GB, free: 5.496 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.797e-05/0.112, allocations: 44.66 kB / 0.4972 GB, free: 5.453 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004313/0.1124, allocations: 265.4 kB / 0.4974 GB, free: 5.172 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.1125, allocations: 25.03 kB / 0.4975 GB, free: 5.145 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.702e-05/0.1125, allocations: 32.31 kB / 0.4975 GB, free: 5.113 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006876/0.1132, allocations: 422.6 kB / 0.4979 GB, free: 4.699 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.1132, allocations: 4.172 kB / 0.4979 GB, free: 4.695 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.099e-05/0.1133, allocations: 15.94 kB / 0.4979 GB, free: 4.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.1133, allocations: 8 kB / 0.4979 GB, free: 4.672 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006556/0.1139, allocations: 426.5 kB / 0.4983 GB, free: 4.254 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002277/0.1162, allocations: 1.502 MB / 0.4998 GB, free: 2.629 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.1174, allocations: 0.5201 MB / 0.5003 GB, free: 2.102 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003897/0.1178, allocations: 257.4 kB / 0.5005 GB, free: 1.848 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.15e-05/0.1178, allocations: 20.34 kB / 0.5006 GB, free: 1.828 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.1179, allocations: 38.94 kB / 0.5006 GB, free: 1.781 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 1.593e-06/0.1179, allocations: 0 / 0.5006 GB, free: 1.781 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.004684/0.1225, allocations: 1.409 MB / 0.502 GB, free: 364 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.1226, allocations: 59.41 kB / 0.502 GB, free: 292 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000333/0.1229, allocations: 265.8 kB / 0.5023 GB, free: 16 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.729e-05/0.123, allocations: 37.7 kB / 0.5023 GB, free: 15.97 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.1231, allocations: 161.1 kB / 0.5025 GB, free: 15.81 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.1232, allocations: 170.5 kB / 0.5026 GB, free: 15.64 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.1234, allocations: 98.16 kB / 0.5027 GB, free: 15.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1235, allocations: 338.8 kB / 0.5031 GB, free: 15.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004295/0.124, allocations: 268.9 kB / 0.5033 GB, free: 14.94 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004175/0.1244, allocations: 268.4 kB / 0.5036 GB, free: 14.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000915/0.1253, allocations: 0.5886 MB / 0.5041 GB, free: 14.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1253, allocations: 0 / 0.5041 GB, free: 14.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002456/0.1278, allocations: 1.019 MB / 0.5051 GB, free: 13.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.1278, allocations: 4 kB / 0.5051 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1278, allocations: 0 / 0.5051 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001889/0.1297, allocations: 422.1 kB / 0.5055 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003264/0.13, allocations: 75.84 kB / 0.5056 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007747/0.1378, allocations: 5.784 MB / 0.5113 GB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003522/0.1381, allocations: 43.66 kB / 0.5113 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.304e-05/0.1381, allocations: 16 kB / 0.5113 GB, free: 6.375 MB / 382.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 (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002254/0.1384, allocations: 153.8 kB / 0.5115 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.249e-05/0.1385, allocations: 39.7 kB / 0.5115 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002608/0.1411, allocations: 0.9901 MB / 0.5125 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.1411, allocations: 4 kB / 0.5125 GB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.1411, allocations: 4 kB / 0.5125 GB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.1411, allocations: 3.984 kB / 0.5125 GB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006687/0.1418, allocations: 0.5356 MB / 0.513 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.1418, allocations: 0 / 0.513 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/0.142, allocations: 63.91 kB / 0.5131 GB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001797/0.1438, allocations: 418.1 kB / 0.5135 GB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.511e-05/0.1438, allocations: 16 kB / 0.5135 GB, free: 4.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1778/0.3216, allocations: 5.724 MB / 0.5191 GB, free: 28.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3216, allocations: 2.609 kB / 0.5191 GB, free: 28.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002045/0.3237, allocations: 1.005 MB / 0.5201 GB, free: 28.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.304e-05/0.3237, allocations: 45.61 kB / 0.5201 GB, free: 28.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.202e-05/0.3238, allocations: 14.62 kB / 0.5201 GB, free: 28.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003391/0.3241, allocations: 31.94 kB / 0.5201 GB, free: 28.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.3242, allocations: 36.39 kB / 0.5202 GB, free: 28.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.338e-05/0.3242, allocations: 21.17 kB / 0.5202 GB, free: 28.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001838/0.3244, allocations: 193.3 kB / 0.5204 GB, free: 28.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3244, allocations: 0 / 0.5204 GB, free: 28.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005715/0.325, allocations: 163.9 kB / 0.5205 GB, free: 28.45 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 (37): * 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: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001542/0.3252, allocations: 130.7 kB / 0.5207 GB, free: 28.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001693/0.3268, allocations: 1.035 MB / 0.5217 GB, free: 28.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.3268, allocations: 3.75 kB / 0.5217 GB, free: 28.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001178/0.328, allocations: 0.7454 MB / 0.5224 GB, free: 27.67 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004087/0.3284, allocations: 50.72 kB / 0.5225 GB, free: 27.67 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.3297, allocations: 0.8104 MB / 0.5232 GB, free: 27.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.3299, allocations: 0.7989 MB / 0.524 GB, free: 26.63 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.71e-05/0.33, allocations: 39.34 kB / 0.5241 GB, free: 26.62 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.33, allocations: 0.5312 kB / 0.5241 GB, free: 26.62 MB / 382.1 MB Notification: Performance of Templates: time 0.01226/0.3423, allocations: 9.919 MB / 0.5337 GB, free: 24.71 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.941400517942384] Failed to read output from testmodel.py, exit status != 0: 0.3498865410219878 0.361143786 0.250737304 Calling exit ...