Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.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.001706/0.001706, 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.001536/0.001536, allocations: 215.4 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.496/1.496, 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.03953/0.03953, allocations: 6.146 MB / 320.1 MB, free: 12.74 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.OneSourceOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 43.92 kB / 445.2 MB, free: 5.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1039, allocations: 55.03 MB / 0.4885 GB, free: 13.96 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad): time 0.00329/0.1072, allocations: 1.984 MB / 0.4904 GB, free: 11.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002458/0.1097, allocations: 1.656 MB / 0.4921 GB, free: 10.3 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.1098, allocations: 4 kB / 0.4921 GB, free: 10.3 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004338/0.1102, allocations: 159.1 kB / 0.4922 GB, free: 10.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004856/0.1107, allocations: 202.7 kB / 0.4924 GB, free: 9.945 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002148/0.1129, allocations: 1.127 MB / 0.4935 GB, free: 8.816 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005127/0.1134, allocations: 402.1 kB / 0.4939 GB, free: 8.422 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/0.1136, allocations: 83.69 kB / 0.494 GB, free: 8.336 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001935/0.1138, allocations: 175.4 kB / 0.4941 GB, free: 8.164 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003286/0.1141, allocations: 199.1 kB / 0.4943 GB, free: 7.969 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.048e-05/0.1142, allocations: 35.98 kB / 0.4944 GB, free: 7.934 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005742/0.1147, allocations: 275.7 kB / 0.4946 GB, free: 7.664 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.64e-05/0.1148, allocations: 79.69 kB / 0.4947 GB, free: 7.586 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002006/0.115, allocations: 155.3 kB / 0.4949 GB, free: 7.434 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008625/0.1159, allocations: 0.5838 MB / 0.4954 GB, free: 6.848 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1159, allocations: 0 / 0.4954 GB, free: 6.848 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1159, allocations: 0 / 0.4954 GB, free: 6.848 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.096e-06/0.1159, allocations: 4 kB / 0.4954 GB, free: 6.844 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.005292/0.1212, allocations: 1.3 MB / 0.4967 GB, free: 5.508 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.1212, allocations: 12.03 kB / 0.4967 GB, free: 5.496 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.666e-05/0.1213, allocations: 8.844 kB / 0.4967 GB, free: 5.484 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.962e-05/0.1214, allocations: 62.72 kB / 0.4968 GB, free: 5.414 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.1215, allocations: 44.66 kB / 0.4968 GB, free: 5.371 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004623/0.1219, allocations: 265.4 kB / 0.4971 GB, free: 5.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.968e-05/0.122, allocations: 25.03 kB / 0.4971 GB, free: 5.066 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.195e-05/0.122, allocations: 36.38 kB / 0.4971 GB, free: 5.031 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.1231, allocations: 0.6794 MB / 0.4978 GB, free: 4.289 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.1231, allocations: 0 / 0.4978 GB, free: 4.289 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.804e-05/0.1231, allocations: 12 kB / 0.4978 GB, free: 4.277 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.1231, allocations: 15.92 kB / 0.4978 GB, free: 4.262 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007008/0.1238, allocations: 434.5 kB / 0.4982 GB, free: 3.836 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002325/0.1262, allocations: 1.127 MB / 0.4993 GB, free: 2.664 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009767/0.1271, allocations: 482.3 kB / 0.4998 GB, free: 2.184 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003923/0.1275, allocations: 248.8 kB / 0.5 GB, free: 1.938 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.936e-05/0.1276, allocations: 8 kB / 0.5 GB, free: 1.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.1276, allocations: 42.56 kB / 0.5001 GB, free: 1.879 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.973e-06/0.1276, allocations: 4 kB / 0.5001 GB, free: 1.875 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.00714/0.1348, allocations: 1.817 MB / 0.5019 GB, free: 48 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.889e-05/0.1349, allocations: 114.8 kB / 0.502 GB, free: 15.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003168/0.1352, allocations: 269.8 kB / 0.5022 GB, free: 15.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.883e-05/0.1352, allocations: 41.64 kB / 0.5023 GB, free: 15.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.1354, allocations: 165 kB / 0.5024 GB, free: 15.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/0.1355, allocations: 158.6 kB / 0.5026 GB, free: 15.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002082/0.1357, allocations: 106.3 kB / 0.5027 GB, free: 15.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.1359, allocations: 338.8 kB / 0.503 GB, free: 14.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004928/0.1364, allocations: 305.1 kB / 0.5033 GB, free: 14.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005783/0.137, allocations: 413.1 kB / 0.5037 GB, free: 14.1 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.138, allocations: 0.6547 MB / 0.5043 GB, free: 13.44 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.138, allocations: 4.031 kB / 0.5043 GB, free: 13.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003697/0.1417, allocations: 1.243 MB / 0.5055 GB, free: 12.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.1418, allocations: 11.94 kB / 0.5056 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.1418, allocations: 0 / 0.5056 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003776/0.1455, allocations: 0.7656 MB / 0.5063 GB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004085/0.1459, allocations: 91.83 kB / 0.5064 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007824/0.1538, allocations: 3.972 MB / 0.5103 GB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004851/0.1543, allocations: 59.56 kB / 0.5103 GB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.478e-05/0.1543, allocations: 23.92 kB / 0.5103 GB, free: 7.148 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 (51): * Single equations (assignments): 50 * 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 {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002358/0.1545, allocations: 161.7 kB / 0.5105 GB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.228e-05/0.1546, allocations: 31.81 kB / 0.5105 GB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003664/0.1583, allocations: 1.202 MB / 0.5117 GB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.1583, allocations: 4 kB / 0.5117 GB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.1583, allocations: 3.938 kB / 0.5117 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.1583, allocations: 3.984 kB / 0.5117 GB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005761/0.1589, allocations: 436.7 kB / 0.5121 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.1589, allocations: 0 / 0.5121 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002341/0.1591, allocations: 59.91 kB / 0.5122 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003662/0.1628, allocations: 0.746 MB / 0.5129 GB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.832e-05/0.1628, allocations: 15.98 kB / 0.5129 GB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007691/0.1705, allocations: 3.935 MB / 0.5168 GB, free: 400 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.1705, allocations: 4 kB / 0.5168 GB, free: 396 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2064/0.3769, allocations: 1.201 MB / 0.518 GB, free: 30.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.855e-05/0.377, allocations: 45.83 kB / 0.518 GB, free: 30.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.959e-05/0.3771, allocations: 9.812 kB / 0.518 GB, free: 30.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003674/0.3775, allocations: 25.7 kB / 0.518 GB, free: 30.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.3776, allocations: 37.19 kB / 0.5181 GB, free: 30.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.585e-05/0.3777, allocations: 20.53 kB / 0.5181 GB, free: 30.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001853/0.3779, allocations: 188.5 kB / 0.5183 GB, free: 29.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3779, allocations: 0 / 0.5183 GB, free: 29.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006794/0.3785, allocations: 181.3 kB / 0.5184 GB, free: 29.96 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 (36): * Single equations (assignments): 35 * 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 {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003437/0.382, allocations: 1.773 MB / 0.5202 GB, free: 29.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002412/0.3844, allocations: 0.9865 MB / 0.5211 GB, free: 29.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3844, allocations: 0 / 0.5211 GB, free: 29.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001732/0.3861, allocations: 0.6562 MB / 0.5218 GB, free: 28.97 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.3865, allocations: 38.58 kB / 0.5218 GB, free: 28.97 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/0.3974, allocations: 5.181 MB / 0.5269 GB, free: 27.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.3976, allocations: 195.2 kB / 0.5271 GB, free: 27.26 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002197/0.3978, allocations: 53.08 kB / 0.5271 GB, free: 27.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001786/0.398, allocations: 123.1 kB / 0.5272 GB, free: 27.17 MB / 382.1 MB Notification: Performance of SimCode: time 1.543e-06/0.398, allocations: 3.188 kB / 0.5272 GB, free: 27.17 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04045/0.4384, allocations: 15.11 MB / 0.542 GB, free: 22.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.41/13.85, allocations: 2.406 kB / 0.542 GB, free: 22.16 MB / 382.1 MB " [Timeout remaining time 646] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.53431565198116] Failed to read output from testmodel.py, exit status != 0: 14.026994557934813 14.042786096 13.92290201 Calling exit ...