Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.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.001945/0.001945, allocations: 105 kB / 20.53 MB, free: 1.43 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.002399/0.002399, allocations: 209.5 kB / 23.83 MB, free: 4.641 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.536/1.536, allocations: 230.6 MB / 257.6 MB, free: 7.98 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.03979/0.03979, allocations: 6.131 MB / 320.2 MB, free: 12.92 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.OneSourceOneTransfoOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 43.92 kB / 445.3 MB, free: 5.332 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1232, allocations: 55.03 MB / 0.4886 GB, free: 14.2 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLoad): time 0.003925/0.1271, allocations: 1.242 MB / 0.4898 GB, free: 12.96 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003127/0.1302, allocations: 1.555 MB / 0.4913 GB, free: 11.39 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001779/0.1304, allocations: 4 kB / 0.4913 GB, free: 11.39 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005957/0.131, allocations: 119.4 kB / 0.4914 GB, free: 11.27 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004912/0.1315, allocations: 103.4 kB / 0.4915 GB, free: 11.17 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002643/0.1341, allocations: 1.008 MB / 0.4925 GB, free: 10.16 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00044/0.1346, allocations: 151.3 kB / 0.4927 GB, free: 10.01 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001975/0.1348, allocations: 40.62 kB / 0.4927 GB, free: 9.973 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001648/0.1349, allocations: 71.64 kB / 0.4928 GB, free: 9.902 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002548/0.1352, allocations: 91.67 kB / 0.4929 GB, free: 9.812 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.351e-05/0.1352, allocations: 12 kB / 0.4929 GB, free: 9.801 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000745/0.136, allocations: 239.7 kB / 0.4931 GB, free: 9.566 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.838e-05/0.136, allocations: 27.92 kB / 0.4931 GB, free: 9.539 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.1361, allocations: 79.53 kB / 0.4932 GB, free: 9.461 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008894/0.137, allocations: 338.9 kB / 0.4935 GB, free: 9.129 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.137, allocations: 0 / 0.4935 GB, free: 9.129 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.137, allocations: 0 / 0.4935 GB, free: 9.129 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.379e-05/0.1371, allocations: 4 kB / 0.4935 GB, free: 9.125 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.003594/0.1407, allocations: 0.6573 MB / 0.4942 GB, free: 8.434 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.1407, allocations: 8.031 kB / 0.4942 GB, free: 8.426 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.185e-05/0.1407, allocations: 4.422 kB / 0.4942 GB, free: 8.422 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.128e-05/0.1408, allocations: 46.73 kB / 0.4942 GB, free: 8.367 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.615e-05/0.1409, allocations: 24.8 kB / 0.4943 GB, free: 8.344 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004028/0.1413, allocations: 166.3 kB / 0.4944 GB, free: 8.156 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.1413, allocations: 8.609 kB / 0.4944 GB, free: 8.148 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.206e-05/0.1413, allocations: 12.38 kB / 0.4944 GB, free: 8.137 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005278/0.1419, allocations: 219.7 kB / 0.4946 GB, free: 7.914 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.1419, allocations: 4 kB / 0.4946 GB, free: 7.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.221e-05/0.1419, allocations: 8 kB / 0.4947 GB, free: 7.902 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.1419, allocations: 4 kB / 0.4947 GB, free: 7.898 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004711/0.1424, allocations: 163.9 kB / 0.4948 GB, free: 7.738 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001761/0.1442, allocations: 0.6934 MB / 0.4955 GB, free: 6.977 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007067/0.1449, allocations: 190.5 kB / 0.4957 GB, free: 6.781 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002051/0.1451, allocations: 80.84 kB / 0.4957 GB, free: 6.699 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.157e-05/0.1451, allocations: 4 kB / 0.4957 GB, free: 6.695 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.742e-05/0.1452, allocations: 38.56 kB / 0.4958 GB, free: 6.648 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 2.415e-06/0.1452, allocations: 0 / 0.4958 GB, free: 6.648 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.002912/0.1481, allocations: 0.51 MB / 0.4963 GB, free: 6.129 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.129e-05/0.1482, allocations: 81.11 kB / 0.4964 GB, free: 6.031 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000304/0.1485, allocations: 178.2 kB / 0.4965 GB, free: 5.848 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.683e-05/0.1485, allocations: 29.7 kB / 0.4966 GB, free: 5.812 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.1486, allocations: 120.4 kB / 0.4967 GB, free: 5.691 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.841e-05/0.1487, allocations: 55.52 kB / 0.4967 GB, free: 5.637 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/0.1488, allocations: 49.69 kB / 0.4968 GB, free: 5.582 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.149, allocations: 326.8 kB / 0.4971 GB, free: 5.254 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002588/0.1493, allocations: 104 kB / 0.4972 GB, free: 5.152 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003036/0.1496, allocations: 125.7 kB / 0.4973 GB, free: 5.023 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005551/0.1501, allocations: 242 kB / 0.4975 GB, free: 4.785 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1501, allocations: 0 / 0.4975 GB, free: 4.785 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001677/0.1518, allocations: 418 kB / 0.4979 GB, free: 4.367 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/0.1518, allocations: 7.938 kB / 0.4979 GB, free: 4.359 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.1519, allocations: 4 kB / 0.4979 GB, free: 4.355 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001594/0.1535, allocations: 200.6 kB / 0.4981 GB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002978/0.1537, allocations: 35.98 kB / 0.4982 GB, free: 4.121 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00435/0.1581, allocations: 1.869 MB / 0.5 GB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003085/0.1584, allocations: 23.83 kB / 0.5 GB, free: 2.109 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4e-05/0.1584, allocations: 4 kB / 0.5 GB, free: 2.105 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 (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 {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002297/0.1587, allocations: 133.8 kB / 0.5002 GB, free: 1.965 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.576e-05/0.1588, allocations: 19.84 kB / 0.5002 GB, free: 1.945 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001596/0.1604, allocations: 386.2 kB / 0.5005 GB, free: 1.562 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.1604, allocations: 3.938 kB / 0.5005 GB, free: 1.559 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1604, allocations: 7.938 kB / 0.5006 GB, free: 1.551 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.1604, allocations: 0 / 0.5006 GB, free: 1.551 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000478/0.1609, allocations: 272.5 kB / 0.5008 GB, free: 1.242 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1609, allocations: 0 / 0.5008 GB, free: 1.242 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.161, allocations: 31.92 kB / 0.5008 GB, free: 1.211 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001434/0.1625, allocations: 200.6 kB / 0.501 GB, free: 1.012 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.1625, allocations: 3.984 kB / 0.501 GB, free: 1.008 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003719/0.1662, allocations: 1.846 MB / 0.5028 GB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1662, allocations: 0 / 0.5028 GB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00154/0.1678, allocations: 447.9 kB / 0.5033 GB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.752e-05/0.1678, allocations: 31.77 kB / 0.5033 GB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.518e-05/0.1679, allocations: 4 kB / 0.5033 GB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002939/0.1682, allocations: 19.98 kB / 0.5033 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.184e-05/0.1683, allocations: 7.984 kB / 0.5033 GB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-05/0.1683, allocations: 4 kB / 0.5033 GB, free: 14.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002058/0.1685, allocations: 135.2 kB / 0.5035 GB, free: 14.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1685, allocations: 0 / 0.5035 GB, free: 14.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006329/0.1691, allocations: 67.94 kB / 0.5035 GB, free: 14.32 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 (15): * Single equations (assignments): 14 * 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 {(3,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002056/0.1712, allocations: 0.9966 MB / 0.5045 GB, free: 13.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001459/0.1726, allocations: 394.5 kB / 0.5049 GB, free: 12.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.1726, allocations: 0 / 0.5049 GB, free: 12.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008983/0.1735, allocations: 270.6 kB / 0.5051 GB, free: 12.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004769/0.174, allocations: 19.94 kB / 0.5052 GB, free: 12.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006395/0.1804, allocations: 2.518 MB / 0.5076 GB, free: 10.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004561/0.1809, allocations: 0.7281 MB / 0.5083 GB, free: 9.254 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001667/0.181, allocations: 17.41 kB / 0.5083 GB, free: 9.238 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.1812, allocations: 47.42 kB / 0.5084 GB, free: 9.191 MB / 382.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1812, allocations: 0 / 0.5084 GB, free: 9.191 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03994/0.2211, allocations: 6.406 MB / 0.5146 GB, free: 2.926 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/13.14, allocations: 6.984 kB / 0.5146 GB, free: 2.926 MB / 382.1 MB " [Timeout remaining time 647] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.171233869041316] Failed to read output from testmodel.py, exit status != 0: 13.312271154019982 13.533059781 13.392719778 Calling exit ...