Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.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.001855/0.001855, 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.001483/0.001483, allocations: 214.8 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.512/1.512, allocations: 230.6 MB / 257.6 MB, free: 7.785 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.135 MB / 320.1 MB, free: 12.73 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.OneSourceOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 47.92 kB / 445.2 MB, free: 5.082 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1041, allocations: 55.02 MB / 0.4885 GB, free: 13.96 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoad): time 0.00257/0.1067, allocations: 1.106 MB / 0.4896 GB, free: 12.86 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002043/0.1088, allocations: 1.485 MB / 0.491 GB, free: 11.36 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.884e-05/0.1088, allocations: 0 / 0.491 GB, free: 11.36 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003258/0.1091, allocations: 111.4 kB / 0.4911 GB, free: 11.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002482/0.1094, allocations: 75.53 kB / 0.4912 GB, free: 11.18 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001608/0.111, allocations: 0.8091 MB / 0.492 GB, free: 10.37 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002774/0.1113, allocations: 151.2 kB / 0.4921 GB, free: 10.22 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.1114, allocations: 41.95 kB / 0.4922 GB, free: 10.18 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.968e-05/0.1115, allocations: 59.78 kB / 0.4922 GB, free: 10.12 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.1117, allocations: 91.61 kB / 0.4923 GB, free: 10.03 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.2e-05/0.1117, allocations: 12 kB / 0.4923 GB, free: 10.02 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003575/0.1121, allocations: 203.8 kB / 0.4925 GB, free: 9.816 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.846e-05/0.1121, allocations: 31.86 kB / 0.4926 GB, free: 9.785 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.556e-05/0.1122, allocations: 63.7 kB / 0.4926 GB, free: 9.723 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004448/0.1126, allocations: 311 kB / 0.4929 GB, free: 9.418 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1126, allocations: 7.938 kB / 0.4929 GB, free: 9.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1126, allocations: 0 / 0.4929 GB, free: 9.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.1126, allocations: 0 / 0.4929 GB, free: 9.41 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001767/0.1144, allocations: 0.5676 MB / 0.4935 GB, free: 8.809 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.1144, allocations: 8.031 kB / 0.4935 GB, free: 8.801 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.457e-05/0.1145, allocations: 4.422 kB / 0.4935 GB, free: 8.797 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.981e-05/0.1145, allocations: 46.75 kB / 0.4935 GB, free: 8.742 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.045e-05/0.1146, allocations: 16.84 kB / 0.4936 GB, free: 8.727 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002834/0.1148, allocations: 177 kB / 0.4937 GB, free: 8.531 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.1149, allocations: 8.609 kB / 0.4937 GB, free: 8.523 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/0.1149, allocations: 12.38 kB / 0.4937 GB, free: 8.512 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003868/0.1153, allocations: 260.7 kB / 0.494 GB, free: 8.234 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.1153, allocations: 0 / 0.494 GB, free: 8.234 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/0.1153, allocations: 4 kB / 0.494 GB, free: 8.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.1153, allocations: 4 kB / 0.494 GB, free: 8.227 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002654/0.1156, allocations: 162.5 kB / 0.4942 GB, free: 8.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.1166, allocations: 0.519 MB / 0.4947 GB, free: 7.508 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005423/0.1171, allocations: 198.5 kB / 0.4948 GB, free: 7.305 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.1173, allocations: 80.84 kB / 0.4949 GB, free: 7.223 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.049e-05/0.1173, allocations: 4 kB / 0.4949 GB, free: 7.219 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.1174, allocations: 42.42 kB / 0.495 GB, free: 7.168 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.303e-06/0.1174, allocations: 4 kB / 0.495 GB, free: 7.164 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001732/0.1191, allocations: 496.7 kB / 0.4954 GB, free: 6.672 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.1191, allocations: 59.39 kB / 0.4955 GB, free: 6.602 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.1193, allocations: 175.5 kB / 0.4957 GB, free: 6.426 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.748e-05/0.1194, allocations: 29.7 kB / 0.4957 GB, free: 6.391 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.052e-05/0.1195, allocations: 112.4 kB / 0.4958 GB, free: 6.277 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.209e-05/0.1195, allocations: 55.52 kB / 0.4959 GB, free: 6.223 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.461e-05/0.1196, allocations: 45.66 kB / 0.4959 GB, free: 6.172 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.1198, allocations: 330.8 kB / 0.4962 GB, free: 5.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.1199, allocations: 91.97 kB / 0.4963 GB, free: 5.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.1201, allocations: 99.91 kB / 0.4964 GB, free: 5.652 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003385/0.1204, allocations: 212.7 kB / 0.4966 GB, free: 5.441 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1204, allocations: 0 / 0.4966 GB, free: 5.441 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008972/0.1213, allocations: 384.8 kB / 0.497 GB, free: 5.059 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.1213, allocations: 4 kB / 0.497 GB, free: 5.055 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.1213, allocations: 4 kB / 0.497 GB, free: 5.051 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007329/0.1221, allocations: 144.7 kB / 0.4971 GB, free: 4.906 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.1222, allocations: 27.92 kB / 0.4971 GB, free: 4.879 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002893/0.1251, allocations: 1.9 MB / 0.499 GB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.1253, allocations: 15.89 kB / 0.499 GB, free: 2.848 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.1253, allocations: 7.984 kB / 0.499 GB, free: 2.84 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 (18): * Single equations (assignments): 17 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000142/0.1254, allocations: 129.8 kB / 0.4991 GB, free: 2.703 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.778e-05/0.1255, allocations: 16.16 kB / 0.4992 GB, free: 2.688 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009393/0.1264, allocations: 374.1 kB / 0.4995 GB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.1264, allocations: 0 / 0.4995 GB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.1264, allocations: 0 / 0.4995 GB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1264, allocations: 4 kB / 0.4995 GB, free: 2.309 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003032/0.1267, allocations: 224.6 kB / 0.4997 GB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1267, allocations: 4 kB / 0.4997 GB, free: 2.043 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.291e-05/0.1268, allocations: 27.98 kB / 0.4998 GB, free: 2.016 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006245/0.1274, allocations: 128.7 kB / 0.4999 GB, free: 1.887 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.1275, allocations: 7.938 kB / 0.4999 GB, free: 1.879 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002468/0.1299, allocations: 1.89 MB / 0.5017 GB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1299, allocations: 7.969 kB / 0.5017 GB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008596/0.1308, allocations: 427.8 kB / 0.5022 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.318e-05/0.1308, allocations: 15.83 kB / 0.5022 GB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.631e-05/0.1309, allocations: 4 kB / 0.5022 GB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.131, allocations: 11.92 kB / 0.5022 GB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.1311, allocations: 19.97 kB / 0.5022 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.1311, allocations: 4 kB / 0.5022 GB, free: 15.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001314/0.1312, allocations: 127.2 kB / 0.5023 GB, free: 15.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1312, allocations: 0 / 0.5023 GB, free: 15.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003738/0.1316, allocations: 67.95 kB / 0.5024 GB, free: 15.19 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 (13): * Single equations (assignments): 12 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001244/0.1328, allocations: 0.9615 MB / 0.5033 GB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007957/0.1336, allocations: 376.6 kB / 0.5037 GB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1336, allocations: 0 / 0.5037 GB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004877/0.1341, allocations: 258.5 kB / 0.5039 GB, free: 13.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.1344, allocations: 15.98 kB / 0.504 GB, free: 13.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003776/0.1382, allocations: 2.371 MB / 0.5063 GB, free: 11.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.1383, allocations: 106 kB / 0.5064 GB, free: 10.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.738e-05/0.1384, allocations: 25.47 kB / 0.5064 GB, free: 10.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.611e-05/0.1385, allocations: 43.42 kB / 0.5064 GB, free: 10.89 MB / 382.1 MB Notification: Performance of SimCode: time 8.01e-07/0.1385, allocations: 0 / 0.5064 GB, free: 10.89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04465/0.1832, allocations: 5.843 MB / 0.5121 GB, free: 5.207 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/13.35, allocations: 10.48 kB / 0.5122 GB, free: 5.199 MB / 382.1 MB " [Timeout remaining time 646] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.325885163038038] Failed to read output from testmodel.py, exit status != 0: 13.523736948962323 13.753298457 13.637910339 Calling exit ...