Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.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.001297/0.001297, allocations: 108.3 kB / 19.75 MB, free: 1.879 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.001378/0.001378, allocations: 217.1 kB / 23.03 MB, free: 5.016 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 7.941 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.03876/0.03876, allocations: 6.138 MB / 319.4 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.OneSourceTwoTransfosOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 47.92 kB / 444.4 MB, free: 5.078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1103, allocations: 55.02 MB / 499.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad): time 0.002883/0.1132, allocations: 1.428 MB / 0.4891 GB, free: 12.52 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002282/0.1154, allocations: 1.548 MB / 0.4906 GB, free: 10.96 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.085e-05/0.1155, allocations: 4 kB / 0.4907 GB, free: 10.96 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003925/0.1159, allocations: 127.3 kB / 0.4908 GB, free: 10.83 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004135/0.1163, allocations: 143.1 kB / 0.4909 GB, free: 10.69 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002011/0.1183, allocations: 0.9359 MB / 0.4918 GB, free: 9.754 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000411/0.1188, allocations: 242.8 kB / 0.4921 GB, free: 9.516 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000171/0.1189, allocations: 48.52 kB / 0.4921 GB, free: 9.465 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.1191, allocations: 115.5 kB / 0.4922 GB, free: 9.352 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.1193, allocations: 111.5 kB / 0.4923 GB, free: 9.242 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.243e-05/0.1193, allocations: 16 kB / 0.4923 GB, free: 9.227 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004969/0.1198, allocations: 231.7 kB / 0.4926 GB, free: 9 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.372e-05/0.1199, allocations: 47.83 kB / 0.4926 GB, free: 8.953 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.12, allocations: 91.53 kB / 0.4927 GB, free: 8.863 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006053/0.1206, allocations: 426.6 kB / 0.4931 GB, free: 8.445 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1206, allocations: 0 / 0.4931 GB, free: 8.445 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1206, allocations: 0 / 0.4931 GB, free: 8.445 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.385e-06/0.1207, allocations: 0 / 0.4931 GB, free: 8.445 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.003623/0.1243, allocations: 0.9456 MB / 0.494 GB, free: 7.461 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.1243, allocations: 12.03 kB / 0.494 GB, free: 7.449 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.923e-05/0.1244, allocations: 46.73 kB / 0.4941 GB, free: 7.395 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.42e-05/0.1245, allocations: 28.8 kB / 0.4941 GB, free: 7.367 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003674/0.1248, allocations: 194.8 kB / 0.4943 GB, free: 7.152 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.01e-05/0.1249, allocations: 20.7 kB / 0.4943 GB, free: 7.133 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.802e-05/0.1249, allocations: 24.38 kB / 0.4943 GB, free: 7.109 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006528/0.1256, allocations: 465.8 kB / 0.4948 GB, free: 6.605 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.1256, allocations: 3.938 kB / 0.4948 GB, free: 6.602 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.078e-05/0.1256, allocations: 4 kB / 0.4948 GB, free: 6.598 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.1256, allocations: 4 kB / 0.4948 GB, free: 6.594 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004533/0.1261, allocations: 272.1 kB / 0.495 GB, free: 6.328 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00167/0.1277, allocations: 0.7413 MB / 0.4958 GB, free: 5.543 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006608/0.1284, allocations: 282.5 kB / 0.496 GB, free: 5.258 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002367/0.1286, allocations: 136.8 kB / 0.4962 GB, free: 5.121 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.202e-05/0.1287, allocations: 7.984 kB / 0.4962 GB, free: 5.113 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.1287, allocations: 38.56 kB / 0.4962 GB, free: 5.066 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 2.104e-06/0.1287, allocations: 0 / 0.4962 GB, free: 5.066 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.003982/0.1327, allocations: 0.99 MB / 0.4972 GB, free: 4.066 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.679e-05/0.1328, allocations: 106.8 kB / 0.4973 GB, free: 3.938 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002878/0.1331, allocations: 222.5 kB / 0.4975 GB, free: 3.711 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.209e-05/0.1331, allocations: 37.7 kB / 0.4975 GB, free: 3.668 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.1332, allocations: 128.9 kB / 0.4977 GB, free: 3.539 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.752e-05/0.1333, allocations: 83.23 kB / 0.4977 GB, free: 3.457 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.1335, allocations: 81.62 kB / 0.4978 GB, free: 3.371 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.1336, allocations: 330.8 kB / 0.4981 GB, free: 3.039 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002957/0.1339, allocations: 172.3 kB / 0.4983 GB, free: 2.871 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003642/0.1343, allocations: 265.8 kB / 0.4985 GB, free: 2.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006233/0.1349, allocations: 386.8 kB / 0.4989 GB, free: 2.211 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.1349, allocations: 0 / 0.4989 GB, free: 2.211 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.002106/0.137, allocations: 0.7398 MB / 0.4996 GB, free: 1.461 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.1371, allocations: 4 kB / 0.4996 GB, free: 1.457 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1371, allocations: 3.938 kB / 0.4996 GB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002166/0.1392, allocations: 420.4 kB / 0.5 GB, free: 1.039 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002835/0.1395, allocations: 63.89 kB / 0.5001 GB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004913/0.1444, allocations: 2.58 MB / 0.5026 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000334/0.1448, allocations: 35.78 kB / 0.5027 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.399e-05/0.1448, allocations: 15.98 kB / 0.5027 GB, free: 14.24 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 (33): * Single equations (assignments): 32 * 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 {(4,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001895/0.145, allocations: 141.8 kB / 0.5028 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.289e-05/0.1451, allocations: 23.86 kB / 0.5028 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002164/0.1472, allocations: 0.6832 MB / 0.5035 GB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.1472, allocations: 8 kB / 0.5035 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.1472, allocations: 0 / 0.5035 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.1472, allocations: 7.922 kB / 0.5035 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004075/0.1476, allocations: 300.6 kB / 0.5038 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.1477, allocations: 0 / 0.5038 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.1478, allocations: 39.91 kB / 0.5038 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002046/0.1499, allocations: 412.4 kB / 0.5042 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.15e-05/0.1499, allocations: 8 kB / 0.5042 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004414/0.1543, allocations: 2.549 MB / 0.5067 GB, free: 9.898 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1543, allocations: 0 / 0.5067 GB, free: 9.898 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002087/0.1564, allocations: 0.7262 MB / 0.5074 GB, free: 9.152 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.875e-05/0.1565, allocations: 27.8 kB / 0.5075 GB, free: 9.125 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.887e-05/0.1565, allocations: 11.98 kB / 0.5075 GB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000277/0.1568, allocations: 23.92 kB / 0.5075 GB, free: 9.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.5e-05/0.1569, allocations: 27.91 kB / 0.5075 GB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.608e-05/0.1569, allocations: 7.984 kB / 0.5075 GB, free: 9.055 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001916/0.1571, allocations: 158.8 kB / 0.5077 GB, free: 8.898 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1571, allocations: 0 / 0.5077 GB, free: 8.898 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004651/0.1575, allocations: 111.9 kB / 0.5078 GB, free: 8.789 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 (22): * Single equations (assignments): 21 * 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 {(4,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002471/0.16, allocations: 1.287 MB / 0.509 GB, free: 7.473 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00155/0.1616, allocations: 0.5883 MB / 0.5096 GB, free: 6.871 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.1616, allocations: 0 / 0.5096 GB, free: 6.871 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001077/0.1626, allocations: 394.3 kB / 0.51 GB, free: 6.473 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/0.163, allocations: 23.98 kB / 0.51 GB, free: 6.449 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007103/0.1701, allocations: 3.49 MB / 0.5134 GB, free: 2.875 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.1704, allocations: 138.8 kB / 0.5136 GB, free: 2.723 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001613/0.1706, allocations: 33.92 kB / 0.5136 GB, free: 2.691 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.1707, allocations: 83.34 kB / 0.5137 GB, free: 2.609 MB / 382.1 MB Notification: Performance of SimCode: time 1.302e-06/0.1707, allocations: 0 / 0.5137 GB, free: 2.609 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2562/0.427, allocations: 10.03 MB / 0.5235 GB, free: 30.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/13.1, allocations: 2.25 kB / 0.5235 GB, free: 30.11 MB / 382.1 MB " [Timeout remaining time 647] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.71464612102136] Failed to read output from testmodel.py, exit status != 0: 13.223103052936494 13.244161048 13.120610563 Calling exit ...