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.001489/0.001489, allocations: 111.7 kB / 19.74 MB, free: 2.164 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.001805/0.001805, allocations: 222.1 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.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.04263/0.04263, allocations: 6.129 MB / 319.4 MB, free: 12.95 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 55.92 kB / 444.5 MB, free: 5.379 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1305, allocations: 55.02 MB / 499.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLoad): time 0.002726/0.1332, allocations: 1.249 MB / 0.489 GB, free: 13.02 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002356/0.1356, allocations: 1.563 MB / 0.4906 GB, free: 11.44 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.1357, allocations: 0 / 0.4906 GB, free: 11.44 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004074/0.1361, allocations: 111.5 kB / 0.4907 GB, free: 11.33 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000392/0.1365, allocations: 103.4 kB / 0.4908 GB, free: 11.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002024/0.1385, allocations: 1.006 MB / 0.4917 GB, free: 10.22 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000337/0.1388, allocations: 155.2 kB / 0.4919 GB, free: 10.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.139, allocations: 45.89 kB / 0.4919 GB, free: 10.02 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.1391, allocations: 75.7 kB / 0.492 GB, free: 9.945 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002055/0.1393, allocations: 79.62 kB / 0.4921 GB, free: 9.867 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.265e-05/0.1393, allocations: 12 kB / 0.4921 GB, free: 9.855 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000505/0.1398, allocations: 235.8 kB / 0.4923 GB, free: 9.625 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.489e-05/0.1399, allocations: 39.84 kB / 0.4924 GB, free: 9.586 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.727e-05/0.14, allocations: 79.59 kB / 0.4924 GB, free: 9.508 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006153/0.1406, allocations: 330.9 kB / 0.4928 GB, free: 9.184 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1406, allocations: 4 kB / 0.4928 GB, free: 9.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1406, allocations: 0 / 0.4928 GB, free: 9.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.1406, allocations: 4 kB / 0.4928 GB, free: 9.176 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.002439/0.1431, allocations: 0.6573 MB / 0.4934 GB, free: 8.484 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.1431, allocations: 8.031 kB / 0.4934 GB, free: 8.477 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.716e-05/0.1432, allocations: 46.75 kB / 0.4935 GB, free: 8.422 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.177e-05/0.1432, allocations: 20.8 kB / 0.4935 GB, free: 8.402 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003102/0.1435, allocations: 166.3 kB / 0.4936 GB, free: 8.215 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.1435, allocations: 12.61 kB / 0.4936 GB, free: 8.203 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.248e-05/0.1436, allocations: 12.38 kB / 0.4937 GB, free: 8.191 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003901/0.144, allocations: 208.3 kB / 0.4939 GB, free: 7.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.144, allocations: 3.938 kB / 0.4939 GB, free: 7.977 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.245e-05/0.144, allocations: 4 kB / 0.4939 GB, free: 7.973 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.144, allocations: 7.938 kB / 0.4939 GB, free: 7.965 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002872/0.1443, allocations: 167.9 kB / 0.494 GB, free: 7.801 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/0.1456, allocations: 0.6934 MB / 0.4947 GB, free: 7.039 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004985/0.1461, allocations: 190.5 kB / 0.4949 GB, free: 6.844 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.1463, allocations: 88.77 kB / 0.495 GB, free: 6.754 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.192e-05/0.1463, allocations: 8 kB / 0.495 GB, free: 6.746 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.1464, allocations: 30.56 kB / 0.495 GB, free: 6.707 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.232e-06/0.1464, allocations: 0 / 0.495 GB, free: 6.707 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.002135/0.1485, allocations: 0.5061 MB / 0.4955 GB, free: 6.191 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.563e-05/0.1486, allocations: 81.11 kB / 0.4956 GB, free: 6.094 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.1488, allocations: 182.1 kB / 0.4958 GB, free: 5.906 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.474e-05/0.1488, allocations: 29.7 kB / 0.4958 GB, free: 5.871 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.463e-05/0.1489, allocations: 124.4 kB / 0.4959 GB, free: 5.746 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.926e-05/0.149, allocations: 51.53 kB / 0.4959 GB, free: 5.695 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.114e-05/0.1491, allocations: 49.69 kB / 0.496 GB, free: 5.641 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1492, allocations: 330.8 kB / 0.4963 GB, free: 5.309 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.1494, allocations: 99.97 kB / 0.4964 GB, free: 5.211 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001846/0.1496, allocations: 125.7 kB / 0.4965 GB, free: 5.082 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000356/0.1499, allocations: 238 kB / 0.4968 GB, free: 4.848 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1499, allocations: 3.938 kB / 0.4968 GB, free: 4.844 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001158/0.1511, allocations: 422 kB / 0.4972 GB, free: 4.422 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.1511, allocations: 12.03 kB / 0.4972 GB, free: 4.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.1511, allocations: 0 / 0.4972 GB, free: 4.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001118/0.1522, allocations: 196.6 kB / 0.4974 GB, free: 4.215 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.1524, allocations: 47.91 kB / 0.4974 GB, free: 4.168 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003177/0.1556, allocations: 1.863 MB / 0.4992 GB, free: 2.191 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/0.1558, allocations: 27.86 kB / 0.4993 GB, free: 2.164 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.1558, allocations: 7.938 kB / 0.4993 GB, free: 2.156 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.0001499/0.156, allocations: 125.8 kB / 0.4994 GB, free: 2.023 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.563e-05/0.156, allocations: 19.84 kB / 0.4994 GB, free: 2.004 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/0.1572, allocations: 379.2 kB / 0.4998 GB, free: 1.625 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.864e-06/0.1572, allocations: 7.984 kB / 0.4998 GB, free: 1.617 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1572, allocations: 3.938 kB / 0.4998 GB, free: 1.613 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.1572, allocations: 0 / 0.4998 GB, free: 1.613 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004047/0.1576, allocations: 272.5 kB / 0.5 GB, free: 1.305 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.279e-06/0.1577, allocations: 7.938 kB / 0.5 GB, free: 1.297 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.1578, allocations: 35.92 kB / 0.5001 GB, free: 1.262 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001025/0.1588, allocations: 196.6 kB / 0.5003 GB, free: 1.066 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/0.1588, allocations: 4 kB / 0.5003 GB, free: 1.062 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002711/0.1615, allocations: 1.85 MB / 0.5021 GB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1615, allocations: 0 / 0.5021 GB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/0.1627, allocations: 447.9 kB / 0.5025 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.825e-05/0.1628, allocations: 23.84 kB / 0.5025 GB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.1628, allocations: 0 / 0.5025 GB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.163, allocations: 19.98 kB / 0.5025 GB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.352e-05/0.163, allocations: 15.97 kB / 0.5026 GB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.1631, allocations: 8 kB / 0.5026 GB, free: 14.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001588/0.1632, allocations: 131.2 kB / 0.5027 GB, free: 14.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1632, allocations: 0 / 0.5027 GB, free: 14.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003967/0.1636, allocations: 67.88 kB / 0.5028 GB, free: 14.38 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.001703/0.1653, allocations: 0.993 MB / 0.5037 GB, free: 13.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00112/0.1664, allocations: 394.4 kB / 0.5041 GB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.1664, allocations: 0 / 0.5041 GB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006707/0.1671, allocations: 270.5 kB / 0.5044 GB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.1675, allocations: 23.92 kB / 0.5044 GB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00464/0.1721, allocations: 2.509 MB / 0.5068 GB, free: 10.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004749/0.1726, allocations: 0.7281 MB / 0.5075 GB, free: 9.316 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.765e-05/0.1727, allocations: 21.41 kB / 0.5076 GB, free: 9.297 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.1728, allocations: 55.41 kB / 0.5076 GB, free: 9.242 MB / 382.1 MB Notification: Performance of SimCode: time 9.62e-07/0.1728, allocations: 0 / 0.5076 GB, free: 9.242 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03991/0.2127, allocations: 6.36 MB / 0.5138 GB, free: 3.016 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/13.06, allocations: 8.062 kB / 0.5138 GB, free: 3.008 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: 15.998678111005574] Failed to read output from testmodel.py, exit status != 0: 13.183106868993491 13.395765843 13.251986454 Calling exit ...