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.001908/0.001908, allocations: 93.91 kB / 20.52 MB, free: 1.328 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.002455/0.002455, allocations: 213 kB / 23.82 MB, free: 4.48 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.523/1.523, allocations: 230.6 MB / 257.6 MB, free: 7.801 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.03773/0.03773, allocations: 6.134 MB / 320.1 MB, free: 12.77 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: "" <> buildModelFMU(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesOneLineThreeSensors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesOneLineThreeSensors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 47.92 kB / 445.2 MB, free: 5.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1083, allocations: 55.03 MB / 0.4885 GB, free: 14.01 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors): time 0.003152/0.1115, allocations: 1.59 MB / 0.4901 GB, free: 12.42 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002306/0.1138, allocations: 1.462 MB / 0.4915 GB, free: 10.95 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001744/0.114, allocations: 8 kB / 0.4915 GB, free: 10.94 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004647/0.1144, allocations: 119.3 kB / 0.4916 GB, free: 10.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004074/0.1148, allocations: 99.38 kB / 0.4917 GB, free: 10.72 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00188/0.1167, allocations: 0.8356 MB / 0.4925 GB, free: 9.887 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000425/0.1172, allocations: 234.8 kB / 0.4927 GB, free: 9.656 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001955/0.1173, allocations: 76.34 kB / 0.4928 GB, free: 9.578 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.1175, allocations: 91.7 kB / 0.4929 GB, free: 9.488 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002491/0.1177, allocations: 139.5 kB / 0.493 GB, free: 9.352 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.109e-05/0.1178, allocations: 20 kB / 0.493 GB, free: 9.332 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000575/0.1184, allocations: 215.8 kB / 0.4933 GB, free: 9.121 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.42e-05/0.1184, allocations: 43.84 kB / 0.4933 GB, free: 9.078 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.1185, allocations: 95.58 kB / 0.4934 GB, free: 8.984 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007338/0.1193, allocations: 418.5 kB / 0.4938 GB, free: 8.574 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.1193, allocations: 0 / 0.4938 GB, free: 8.574 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1193, allocations: 0 / 0.4938 GB, free: 8.574 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.1193, allocations: 0 / 0.4938 GB, free: 8.574 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.002486/0.1218, allocations: 0.6963 MB / 0.4945 GB, free: 7.844 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.1218, allocations: 12.03 kB / 0.4945 GB, free: 7.832 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.176e-05/0.1218, allocations: 4.688 kB / 0.4945 GB, free: 7.828 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.477e-05/0.1219, allocations: 62.67 kB / 0.4945 GB, free: 7.758 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.34e-05/0.122, allocations: 24.8 kB / 0.4946 GB, free: 7.734 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/0.1223, allocations: 182.2 kB / 0.4947 GB, free: 7.531 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.1223, allocations: 20.88 kB / 0.4948 GB, free: 7.512 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.141e-05/0.1224, allocations: 24.38 kB / 0.4948 GB, free: 7.488 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005468/0.1229, allocations: 300.4 kB / 0.4951 GB, free: 7.191 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.123, allocations: 7.938 kB / 0.4951 GB, free: 7.184 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.018e-05/0.123, allocations: 11.98 kB / 0.4951 GB, free: 7.172 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.123, allocations: 8 kB / 0.4951 GB, free: 7.164 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004956/0.1235, allocations: 293.9 kB / 0.4954 GB, free: 6.871 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001584/0.1251, allocations: 0.7747 MB / 0.4961 GB, free: 6.055 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005528/0.1256, allocations: 258.4 kB / 0.4964 GB, free: 5.793 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002196/0.1258, allocations: 116.8 kB / 0.4965 GB, free: 5.676 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001147/0.126, allocations: 7.984 kB / 0.4965 GB, free: 5.668 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.126, allocations: 42.5 kB / 0.4965 GB, free: 5.617 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 2.134e-06/0.126, allocations: 0 / 0.4965 GB, free: 5.617 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.001347/0.1273, allocations: 442.6 kB / 0.497 GB, free: 5.176 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.1274, allocations: 55.41 kB / 0.497 GB, free: 5.109 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.1276, allocations: 165.8 kB / 0.4972 GB, free: 4.938 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/0.1276, allocations: 29.7 kB / 0.4972 GB, free: 4.902 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.1277, allocations: 148.6 kB / 0.4973 GB, free: 4.754 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.309e-05/0.1278, allocations: 95.2 kB / 0.4974 GB, free: 4.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.1279, allocations: 73.62 kB / 0.4975 GB, free: 4.582 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.1281, allocations: 322.8 kB / 0.4978 GB, free: 4.258 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.1283, allocations: 127.9 kB / 0.4979 GB, free: 4.133 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.1285, allocations: 128.8 kB / 0.4981 GB, free: 4.008 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004294/0.129, allocations: 273.2 kB / 0.4983 GB, free: 3.738 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.129, allocations: 3.938 kB / 0.4983 GB, free: 3.734 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007416/0.1297, allocations: 394.2 kB / 0.4987 GB, free: 3.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.1297, allocations: 7.938 kB / 0.4987 GB, free: 3.332 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.1297, allocations: 0 / 0.4987 GB, free: 3.332 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003527/0.1301, allocations: 64.75 kB / 0.4988 GB, free: 3.266 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003454/0.1304, allocations: 55.91 kB / 0.4988 GB, free: 3.211 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00185/0.1323, allocations: 1.439 MB / 0.5002 GB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.1325, allocations: 23.81 kB / 0.5002 GB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.1325, allocations: 15.98 kB / 0.5003 GB, free: 1.613 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.0001939/0.1327, allocations: 135.3 kB / 0.5004 GB, free: 1.473 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.824e-05/0.1328, allocations: 19.84 kB / 0.5004 GB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007053/0.1335, allocations: 339.7 kB / 0.5007 GB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.1335, allocations: 4 kB / 0.5007 GB, free: 1.109 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1335, allocations: 0 / 0.5007 GB, free: 1.109 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.1335, allocations: 3.984 kB / 0.5007 GB, free: 1.105 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.1346, allocations: 0.6675 MB / 0.5014 GB, free: 392 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.1346, allocations: 4 kB / 0.5014 GB, free: 388 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/0.1349, allocations: 43.92 kB / 0.5014 GB, free: 344 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002102/0.1351, allocations: 56.75 kB / 0.5015 GB, free: 284 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.1351, allocations: 8 kB / 0.5015 GB, free: 276 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001548/0.1367, allocations: 1.428 MB / 0.5029 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1367, allocations: 0 / 0.5029 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006591/0.1373, allocations: 397.2 kB / 0.5033 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.307e-05/0.1374, allocations: 19.84 kB / 0.5033 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.288e-05/0.1374, allocations: 3.984 kB / 0.5033 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/0.1376, allocations: 8 kB / 0.5033 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.913e-05/0.1376, allocations: 23.84 kB / 0.5033 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.1376, allocations: 12.09 kB / 0.5033 GB, free: 14.26 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000172/0.1378, allocations: 128.9 kB / 0.5035 GB, free: 14.13 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1378, allocations: 4 kB / 0.5035 GB, free: 14.13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004484/0.1383, allocations: 79.83 kB / 0.5035 GB, free: 14.05 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.001329/0.1396, allocations: 0.9356 MB / 0.5045 GB, free: 13.08 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009324/0.1405, allocations: 394.2 kB / 0.5048 GB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1405, allocations: 0 / 0.5048 GB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004863/0.141, allocations: 243 kB / 0.5051 GB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.1413, allocations: 22.61 kB / 0.5051 GB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00386/0.1452, allocations: 2.504 MB / 0.5075 GB, free: 9.824 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001595/0.1453, allocations: 129.2 kB / 0.5077 GB, free: 9.676 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001337/0.1455, allocations: 33.62 kB / 0.5077 GB, free: 9.645 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/0.1456, allocations: 67.41 kB / 0.5077 GB, free: 9.578 MB / 382.1 MB Notification: Performance of SimCode: time 1.102e-06/0.1456, allocations: 3.938 kB / 0.5078 GB, free: 9.574 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03033/0.176, allocations: 5.195 MB / 0.5128 GB, free: 4.531 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.15, allocations: 7.688 kB / 0.5128 GB, free: 4.527 MB / 382.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_TwoSourcesOneLineThreeSensors_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_TwoSourcesOneLineThreeSensors.fmu > PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.07539691904094] Failed to read output from testmodel.py, exit status != 0: 12.314349623047747 12.518265734 12.396227979 Calling exit ...