Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.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.001324/0.001324, allocations: 120.9 kB / 17.88 MB, free: 5.027 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.001445/0.001445, allocations: 209.6 kB / 20.84 MB, free: 2.082 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.538/1.538, allocations: 230.6 MB / 254.2 MB, free: 15.07 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.03931/0.03931, allocations: 6.137 MB / 316.4 MB, free: 1.121 MB / 238.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.OneSourceOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001656, allocations: 45.48 kB / 439.9 MB, free: 40.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.107, allocations: 54.98 MB / 494.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoad): time 0.002353/0.1094, allocations: 0.859 MB / 495.8 MB, free: 9.625 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001681/0.111, allocations: 1.361 MB / 497.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.1112, allocations: 0 / 497.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003743/0.1115, allocations: 63.7 kB / 497.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001985/0.1117, allocations: 43.7 kB / 497.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006688/0.1124, allocations: 314.8 kB / 497.6 MB, free: 7.836 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.1125, allocations: 75.59 kB / 497.6 MB, free: 7.762 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.1127, allocations: 23.98 kB / 497.7 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.502e-05/0.1127, allocations: 31.86 kB / 497.7 MB, free: 7.707 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.1129, allocations: 43.83 kB / 497.7 MB, free: 7.664 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.1129, allocations: 12 kB / 497.7 MB, free: 7.652 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002501/0.1131, allocations: 107.8 kB / 497.8 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.072e-05/0.1131, allocations: 15.97 kB / 497.9 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.077e-05/0.1132, allocations: 31.81 kB / 497.9 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002993/0.1135, allocations: 163.7 kB / 498 MB, free: 7.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1135, allocations: 0 / 498 MB, free: 7.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1135, allocations: 4 kB / 498.1 MB, free: 7.336 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.1135, allocations: 0 / 498.1 MB, free: 7.336 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009497/0.1145, allocations: 438.9 kB / 498.5 MB, free: 6.855 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.1145, allocations: 15.95 kB / 498.5 MB, free: 6.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.575e-05/0.1145, allocations: 8.188 kB / 498.5 MB, free: 6.832 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.675e-05/0.1145, allocations: 34.75 kB / 498.5 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.217e-05/0.1146, allocations: 8.891 kB / 498.5 MB, free: 6.781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.1147, allocations: 184.2 kB / 498.7 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.1148, allocations: 12.36 kB / 498.7 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.1148, allocations: 4.375 kB / 498.7 MB, free: 6.547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.115, allocations: 102 kB / 498.8 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.115, allocations: 3.938 kB / 498.8 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.115, allocations: 0 / 498.8 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.115, allocations: 0 / 498.8 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.1151, allocations: 71.97 kB / 498.9 MB, free: 6.367 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000537/0.1156, allocations: 388.6 kB / 499.3 MB, free: 5.938 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003065/0.1159, allocations: 106.7 kB / 499.4 MB, free: 5.824 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.141e-05/0.116, allocations: 24.86 kB / 499.4 MB, free: 5.797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.64e-05/0.116, allocations: 7.984 kB / 499.4 MB, free: 5.789 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.116, allocations: 34.5 kB / 499.5 MB, free: 5.746 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.116, allocations: 0 / 499.5 MB, free: 5.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005791/0.1166, allocations: 231.6 kB / 499.7 MB, free: 5.492 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.1167, allocations: 59.34 kB / 499.7 MB, free: 5.422 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.1168, allocations: 133.8 kB / 499.9 MB, free: 5.281 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.1168, allocations: 25.7 kB / 499.9 MB, free: 5.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.545e-05/0.1168, allocations: 107.9 kB / 0.4883 GB, free: 5.141 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.1169, allocations: 24 kB / 0.4883 GB, free: 5.117 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.592e-05/0.1169, allocations: 29.7 kB / 0.4883 GB, free: 5.082 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.557e-05/0.117, allocations: 314.8 kB / 0.4886 GB, free: 4.766 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.325e-05/0.117, allocations: 36 kB / 0.4887 GB, free: 4.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.534e-05/0.1171, allocations: 31.98 kB / 0.4887 GB, free: 4.699 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.673e-05/0.1172, allocations: 72.84 kB / 0.4888 GB, free: 4.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1172, allocations: 0 / 0.4888 GB, free: 4.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002575/0.1174, allocations: 142.6 kB / 0.4889 GB, free: 4.477 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.1174, allocations: 8.031 kB / 0.4889 GB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1174, allocations: 3.938 kB / 0.4889 GB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002688/0.1177, allocations: 48.7 kB / 0.489 GB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.119e-05/0.1178, allocations: 15.98 kB / 0.489 GB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009875/0.1188, allocations: 1.441 MB / 0.4904 GB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.042e-05/0.1189, allocations: 7.984 kB / 0.4904 GB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.1189, allocations: 3.938 kB / 0.4904 GB, free: 2.797 MB / 350.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 7.713e-05/0.1189, allocations: 117.8 kB / 0.4905 GB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.645e-05/0.119, allocations: 16.03 kB / 0.4905 GB, free: 2.656 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000273/0.1192, allocations: 126.8 kB / 0.4907 GB, free: 2.527 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1193, allocations: 0 / 0.4907 GB, free: 2.527 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1193, allocations: 3.938 kB / 0.4907 GB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.1193, allocations: 0 / 0.4907 GB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.1194, allocations: 205.5 kB / 0.4909 GB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1194, allocations: 0 / 0.4909 GB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.819e-05/0.1195, allocations: 8 kB / 0.4909 GB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001556/0.1196, allocations: 40.83 kB / 0.4909 GB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.1196, allocations: 0 / 0.4909 GB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000777/0.1204, allocations: 1.441 MB / 0.4923 GB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1204, allocations: 0 / 0.4923 GB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.1206, allocations: 208.2 kB / 0.4925 GB, free: 424 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.503e-05/0.1207, allocations: 93.14 kB / 0.4926 GB, free: 312 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.1207, allocations: 0 / 0.4926 GB, free: 312 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.1208, allocations: 8 kB / 0.4926 GB, free: 304 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.26e-05/0.1208, allocations: 7.984 kB / 0.4926 GB, free: 296 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.1208, allocations: 0 / 0.4926 GB, free: 296 kB / 350.1 MB Notification: Performance of sorting global known variables: time 7.559e-05/0.1209, allocations: 107.3 kB / 0.4927 GB, free: 188 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1209, allocations: 0 / 0.4927 GB, free: 188 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002947/0.1212, allocations: 28 kB / 0.4927 GB, free: 160 kB / 350.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.0007414/0.1219, allocations: 0.7561 MB / 0.4935 GB, free: 15.37 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004772/0.1224, allocations: 187.2 kB / 0.4937 GB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.1224, allocations: 4 kB / 0.4937 GB, free: 15.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002364/0.1227, allocations: 154.6 kB / 0.4938 GB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.123, allocations: 24.05 kB / 0.4938 GB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002187/0.1252, allocations: 1.604 MB / 0.4954 GB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.1256, allocations: 0.6924 MB / 0.4961 GB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.958e-05/0.1257, allocations: 8.656 kB / 0.4961 GB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.318e-05/0.1257, allocations: 19.44 kB / 0.4961 GB, free: 12.55 MB / 366.1 MB Notification: Performance of SimCode: time 7.42e-07/0.1257, allocations: 0 / 0.4961 GB, free: 12.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02469/0.1504, allocations: 2.907 MB / 0.4989 GB, free: 9.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.39/10.55, allocations: 11.98 kB / 0.499 GB, free: 9.746 MB / 366.1 MB " [Timeout remaining time 649] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.344417298038024] Failed to read output from testmodel.py, exit status != 0: 10.68722711497685 10.704506468 10.587764763000001 Calling exit ...