Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.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.001296/0.001296, allocations: 118 kB / 19.74 MB, free: 2.152 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.001421/0.001421, allocations: 221.3 kB / 23.05 MB, free: 5 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.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 8.039 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.04142/0.04142, allocations: 6.143 MB / 319.4 MB, free: 12.98 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.OneSourceOneTransfoOneLineOneTransfoThreeLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 47.92 kB / 444.5 MB, free: 5.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1208, allocations: 55.02 MB / 499.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines): time 0.004155/0.125, allocations: 2.708 MB / 0.4905 GB, free: 11.6 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002912/0.1279, allocations: 1.824 MB / 0.4922 GB, free: 9.758 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001624/0.128, allocations: 4 kB / 0.4922 GB, free: 9.754 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005493/0.1286, allocations: 183 kB / 0.4924 GB, free: 9.574 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006168/0.1292, allocations: 250.4 kB / 0.4927 GB, free: 9.328 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002231/0.1314, allocations: 1.116 MB / 0.4938 GB, free: 8.211 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007633/0.1322, allocations: 0.4976 MB / 0.4942 GB, free: 7.711 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002403/0.1324, allocations: 108.8 kB / 0.4943 GB, free: 7.594 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002303/0.1327, allocations: 207.2 kB / 0.4945 GB, free: 7.391 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003432/0.133, allocations: 254.9 kB / 0.4948 GB, free: 7.141 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.1331, allocations: 40 kB / 0.4948 GB, free: 7.102 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006219/0.1337, allocations: 275.8 kB / 0.4951 GB, free: 6.832 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.1338, allocations: 103.5 kB / 0.4952 GB, free: 6.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002539/0.1341, allocations: 246.7 kB / 0.4954 GB, free: 6.488 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009148/0.135, allocations: 0.6733 MB / 0.4961 GB, free: 5.812 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.135, allocations: 3.984 kB / 0.4961 GB, free: 5.809 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.135, allocations: 0 / 0.4961 GB, free: 5.809 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.135, allocations: 3.938 kB / 0.4961 GB, free: 5.805 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.006493/0.1415, allocations: 1.597 MB / 0.4976 GB, free: 4.176 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.1416, allocations: 8.031 kB / 0.4977 GB, free: 4.168 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001099/0.1417, allocations: 70.72 kB / 0.4977 GB, free: 4.09 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001287/0.1418, allocations: 60.61 kB / 0.4978 GB, free: 4.031 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004809/0.1423, allocations: 310.3 kB / 0.4981 GB, free: 3.703 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.567e-05/0.1423, allocations: 33.38 kB / 0.4981 GB, free: 3.672 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.196e-05/0.1424, allocations: 44.38 kB / 0.4981 GB, free: 3.629 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.1435, allocations: 0.6125 MB / 0.4987 GB, free: 3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.1435, allocations: 0 / 0.4987 GB, free: 3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.711e-05/0.1435, allocations: 16 kB / 0.4988 GB, free: 2.984 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.1435, allocations: 8 kB / 0.4988 GB, free: 2.977 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.1445, allocations: 0.5662 MB / 0.4993 GB, free: 2.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003067/0.1476, allocations: 1.577 MB / 0.5009 GB, free: 0.7852 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/0.1488, allocations: 0.604 MB / 0.5014 GB, free: 180 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000598/0.1494, allocations: 354.2 kB / 0.5018 GB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001777/0.1512, allocations: 1.099 MB / 0.5029 GB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.1512, allocations: 35 kB / 0.5029 GB, free: 14.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=53): time 2.565e-06/0.1512, allocations: 4 kB / 0.5029 GB, free: 14.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=53): time 0.01061/0.1619, allocations: 2.559 MB / 0.5054 GB, free: 12.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.664e-05/0.162, allocations: 115.1 kB / 0.5055 GB, free: 11.95 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004374/0.1624, allocations: 341.5 kB / 0.5058 GB, free: 11.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.313e-05/0.1625, allocations: 49.64 kB / 0.5059 GB, free: 11.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.1626, allocations: 197.5 kB / 0.5061 GB, free: 11.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001947/0.1628, allocations: 194.3 kB / 0.5063 GB, free: 11.17 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002623/0.1631, allocations: 142.6 kB / 0.5064 GB, free: 11.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.1633, allocations: 350.8 kB / 0.5067 GB, free: 10.67 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006888/0.164, allocations: 409.9 kB / 0.5071 GB, free: 10.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007834/0.1648, allocations: 0.5128 MB / 0.5076 GB, free: 9.723 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00152/0.1663, allocations: 0.9571 MB / 0.5086 GB, free: 8.734 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.1663, allocations: 3.938 kB / 0.5086 GB, free: 8.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.005057/0.1713, allocations: 1.762 MB / 0.5103 GB, free: 6.957 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.873e-05/0.1714, allocations: 11.98 kB / 0.5103 GB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.1714, allocations: 4 kB / 0.5103 GB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004885/0.1763, allocations: 1.091 MB / 0.5114 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005287/0.1768, allocations: 119.8 kB / 0.5115 GB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009903/0.1867, allocations: 5.139 MB / 0.5165 GB, free: 488 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006121/0.1873, allocations: 75.44 kB / 0.5166 GB, free: 412 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.671e-05/0.1874, allocations: 28 kB / 0.5166 GB, free: 384 kB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (70): * Single equations (assignments): 69 * 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 {(10,14,58.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002987/0.1877, allocations: 177.8 kB / 0.5168 GB, free: 196 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.1878, allocations: 47.67 kB / 0.5168 GB, free: 148 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2473/0.4351, allocations: 1.594 MB / 0.5184 GB, free: 30.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/0.4351, allocations: 6.781 kB / 0.5184 GB, free: 30.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.4351, allocations: 6.062 kB / 0.5184 GB, free: 30.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.4351, allocations: 3.562 kB / 0.5184 GB, free: 30.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008141/0.4359, allocations: 0.6435 MB / 0.519 GB, free: 30.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.4359, allocations: 4.438 kB / 0.519 GB, free: 30.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002384/0.4362, allocations: 66.06 kB / 0.5191 GB, free: 30.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004443/0.4406, allocations: 1.021 MB / 0.5201 GB, free: 30 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.462e-05/0.4407, allocations: 18.61 kB / 0.5201 GB, free: 30 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008509/0.4492, allocations: 5.109 MB / 0.5251 GB, free: 28.08 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4492, allocations: 2.016 kB / 0.5251 GB, free: 28.08 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004517/0.4537, allocations: 1.604 MB / 0.5266 GB, free: 27.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.4538, allocations: 57.45 kB / 0.5267 GB, free: 27.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.19e-05/0.4539, allocations: 10.38 kB / 0.5267 GB, free: 27.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004039/0.4543, allocations: 26.03 kB / 0.5267 GB, free: 27.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/0.4544, allocations: 48.94 kB / 0.5268 GB, free: 27.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.591e-05/0.4545, allocations: 22.48 kB / 0.5268 GB, free: 27.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002201/0.4547, allocations: 225 kB / 0.527 GB, free: 27.26 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4547, allocations: 0 / 0.527 GB, free: 27.26 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007525/0.4555, allocations: 234 kB / 0.5272 GB, free: 27.23 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 (39): * Single equations (assignments): 38 * 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 {(10,14,58.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004783/0.4602, allocations: 2.168 MB / 0.5294 GB, free: 26.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003013/0.4633, allocations: 1.265 MB / 0.5306 GB, free: 25.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.4633, allocations: 1.281 kB / 0.5306 GB, free: 25.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002018/0.4653, allocations: 0.7776 MB / 0.5314 GB, free: 25.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004602/0.4657, allocations: 42.67 kB / 0.5314 GB, free: 25.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01312/0.4789, allocations: 6.668 MB / 0.5379 GB, free: 21.56 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.4792, allocations: 0.8362 MB / 0.5387 GB, free: 20.85 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002151/0.4794, allocations: 54.91 kB / 0.5388 GB, free: 20.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001867/0.4796, allocations: 152.5 kB / 0.5389 GB, free: 20.73 MB / 382.1 MB Notification: Performance of SimCode: time 1.512e-06/0.4796, allocations: 0 / 0.5389 GB, free: 20.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04849/0.5281, allocations: 18.21 MB / 0.5567 GB, free: 8.383 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/12.82, allocations: 6.453 kB / 0.5567 GB, free: 8.383 MB / 382.1 MB " [Timeout remaining time 647] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.550750556169078] Failed to read output from testmodel.py, exit status != 0: 12.937163230963051 12.95942288 12.819668751 Calling exit ...