Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.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.001943/0.001943, allocations: 115.7 kB / 19.74 MB, free: 2.141 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.002595/0.002595, allocations: 224.1 kB / 23.06 MB, free: 4.934 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.517/1.517, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.03859/0.03859, allocations: 6.125 MB / 319.4 MB, free: 12.96 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.OneSourceOneLoadWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLoadWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 55.89 kB / 444.5 MB, free: 5.387 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1129, allocations: 55.02 MB / 499.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadWithBuses): time 0.003032/0.1159, allocations: 1.247 MB / 0.489 GB, free: 13.02 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002165/0.1181, allocations: 1.314 MB / 0.4903 GB, free: 11.69 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.1182, allocations: 4 kB / 0.4903 GB, free: 11.69 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003672/0.1186, allocations: 71.62 kB / 0.4904 GB, free: 11.62 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002754/0.1189, allocations: 51.62 kB / 0.4904 GB, free: 11.57 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008899/0.1198, allocations: 334.6 kB / 0.4908 GB, free: 11.24 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002325/0.12, allocations: 131.4 kB / 0.4909 GB, free: 11.11 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001727/0.1202, allocations: 50 kB / 0.4909 GB, free: 11.05 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.509e-05/0.1203, allocations: 47.84 kB / 0.491 GB, free: 11 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002114/0.1205, allocations: 75.62 kB / 0.4911 GB, free: 10.93 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.515e-05/0.1205, allocations: 12 kB / 0.4911 GB, free: 10.92 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002734/0.1208, allocations: 111.9 kB / 0.4912 GB, free: 10.81 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.839e-05/0.1208, allocations: 31.91 kB / 0.4912 GB, free: 10.78 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.108e-05/0.1209, allocations: 55.73 kB / 0.4913 GB, free: 10.72 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003945/0.1213, allocations: 219.2 kB / 0.4915 GB, free: 10.51 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1213, allocations: 0 / 0.4915 GB, free: 10.51 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1213, allocations: 4 kB / 0.4915 GB, free: 10.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.1213, allocations: 0 / 0.4915 GB, free: 10.5 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001102/0.1224, allocations: 408.3 kB / 0.4919 GB, free: 10.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.1225, allocations: 12.03 kB / 0.4919 GB, free: 10.06 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.666e-05/0.1225, allocations: 50.67 kB / 0.4919 GB, free: 10 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.101e-05/0.1226, allocations: 12.89 kB / 0.4919 GB, free: 9.992 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.1228, allocations: 126.4 kB / 0.4921 GB, free: 9.844 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.1228, allocations: 16.36 kB / 0.4921 GB, free: 9.828 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.1228, allocations: 12.36 kB / 0.4921 GB, free: 9.816 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002754/0.1231, allocations: 138.1 kB / 0.4922 GB, free: 9.676 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.1231, allocations: 3.938 kB / 0.4922 GB, free: 9.672 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.882e-05/0.1231, allocations: 8 kB / 0.4922 GB, free: 9.664 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/0.1231, allocations: 4 kB / 0.4922 GB, free: 9.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001911/0.1233, allocations: 95.95 kB / 0.4923 GB, free: 9.566 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009109/0.1242, allocations: 463.3 kB / 0.4928 GB, free: 9.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003458/0.1246, allocations: 98.67 kB / 0.4929 GB, free: 8.965 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.152e-05/0.1246, allocations: 20.86 kB / 0.4929 GB, free: 8.941 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001009/0.1247, allocations: 12.12 kB / 0.4929 GB, free: 8.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.1248, allocations: 30.56 kB / 0.4929 GB, free: 8.891 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.1248, allocations: 4 kB / 0.4929 GB, free: 8.887 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006078/0.1254, allocations: 158.6 kB / 0.4931 GB, free: 8.723 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.1254, allocations: 51.41 kB / 0.4931 GB, free: 8.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.1256, allocations: 137.8 kB / 0.4932 GB, free: 8.516 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.1256, allocations: 25.7 kB / 0.4933 GB, free: 8.484 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.1257, allocations: 119.8 kB / 0.4934 GB, free: 8.363 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.1257, allocations: 31.73 kB / 0.4934 GB, free: 8.332 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.311e-05/0.1258, allocations: 33.64 kB / 0.4934 GB, free: 8.293 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.126, allocations: 318.8 kB / 0.4938 GB, free: 7.973 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.349e-05/0.126, allocations: 27.98 kB / 0.4938 GB, free: 7.945 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.511e-05/0.1261, allocations: 35.92 kB / 0.4938 GB, free: 7.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.1262, allocations: 60.86 kB / 0.4939 GB, free: 7.848 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1262, allocations: 0 / 0.4939 GB, free: 7.848 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002909/0.1265, allocations: 134.4 kB / 0.494 GB, free: 7.707 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.1265, allocations: 8 kB / 0.494 GB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.1265, allocations: 4 kB / 0.494 GB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002501/0.1267, allocations: 28.83 kB / 0.494 GB, free: 7.664 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-05/0.1268, allocations: 15.98 kB / 0.4941 GB, free: 7.648 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001429/0.1282, allocations: 1.334 MB / 0.4954 GB, free: 6.199 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.699e-05/0.1283, allocations: 11.97 kB / 0.4954 GB, free: 6.188 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.1283, allocations: 160 / 0.4954 GB, free: 6.188 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 (9): * Single equations (assignments): 8 * 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.0001291/0.1285, allocations: 133.7 kB / 0.4955 GB, free: 6.047 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.79e-05/0.1285, allocations: 7.953 kB / 0.4955 GB, free: 6.039 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000309/0.1288, allocations: 118.9 kB / 0.4956 GB, free: 5.918 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1288, allocations: 0 / 0.4956 GB, free: 5.918 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.1288, allocations: 0 / 0.4956 GB, free: 5.918 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1288, allocations: 0 / 0.4956 GB, free: 5.918 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002632/0.1291, allocations: 192.6 kB / 0.4958 GB, free: 5.688 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1291, allocations: 4.281 kB / 0.4958 GB, free: 5.684 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.565e-05/0.1291, allocations: 11.94 kB / 0.4958 GB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000164/0.1293, allocations: 36.83 kB / 0.4959 GB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.1293, allocations: 3.938 kB / 0.4959 GB, free: 5.629 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001337/0.1307, allocations: 1.314 MB / 0.4971 GB, free: 4.195 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1307, allocations: 0 / 0.4971 GB, free: 4.195 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003188/0.131, allocations: 200.5 kB / 0.4973 GB, free: 3.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.004e-05/0.131, allocations: 19.88 kB / 0.4973 GB, free: 3.961 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.131, allocations: 0 / 0.4973 GB, free: 3.961 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.1311, allocations: 4.438 kB / 0.4974 GB, free: 3.957 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/0.1312, allocations: 15.92 kB / 0.4974 GB, free: 3.941 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.1312, allocations: 0 / 0.4974 GB, free: 3.941 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001293/0.1313, allocations: 115.2 kB / 0.4975 GB, free: 3.828 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1313, allocations: 4 kB / 0.4975 GB, free: 3.824 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003128/0.1316, allocations: 28 kB / 0.4975 GB, free: 3.797 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 (6): * Single equations (assignments): 5 * 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.0007288/0.1323, allocations: 0.7444 MB / 0.4982 GB, free: 3.023 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004475/0.1328, allocations: 182.6 kB / 0.4984 GB, free: 2.832 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1328, allocations: 0 / 0.4984 GB, free: 2.832 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002227/0.133, allocations: 146.6 kB / 0.4985 GB, free: 2.676 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.1334, allocations: 26.98 kB / 0.4986 GB, free: 2.652 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002239/0.1356, allocations: 1.61 MB / 0.5001 GB, free: 0.957 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004294/0.136, allocations: 0.7002 MB / 0.5008 GB, free: 236 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.584e-05/0.1361, allocations: 8.609 kB / 0.5008 GB, free: 228 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.722e-05/0.1362, allocations: 35.42 kB / 0.5009 GB, free: 192 kB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1362, allocations: 0 / 0.5009 GB, free: 192 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03238/0.1685, allocations: 3.064 MB / 0.5039 GB, free: 13.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/11.78, allocations: 2.578 kB / 0.5039 GB, free: 13.25 MB / 382.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.612018390092999] Failed to read output from testmodel.py, exit status != 0: 11.887182445963845 12.091686967 11.790219833 Calling exit ...