Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.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.001334/0.001334, allocations: 115.5 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.001453/0.001453, allocations: 223 kB / 23.05 MB, free: 4.996 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 8.062 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.03959/0.03959, allocations: 6.141 MB / 319.4 MB, free: 13.09 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.OneProdLoadOneLineOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneProdLoadOneLineOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneProdLoadOneLineOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 51.92 kB / 444.5 MB, free: 5.527 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1198, allocations: 55.03 MB / 499.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad): time 0.003097/0.1229, allocations: 1.545 MB / 0.4893 GB, free: 12.85 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002653/0.1255, allocations: 1.629 MB / 0.4909 GB, free: 11.21 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001571/0.1257, allocations: 4 kB / 0.4909 GB, free: 11.2 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004497/0.1261, allocations: 119.3 kB / 0.491 GB, free: 11.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004064/0.1265, allocations: 115.3 kB / 0.4911 GB, free: 10.97 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002099/0.1286, allocations: 0.9838 MB / 0.4921 GB, free: 9.988 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004428/0.1291, allocations: 250.8 kB / 0.4923 GB, free: 9.742 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001662/0.1292, allocations: 60.77 kB / 0.4924 GB, free: 9.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/0.1294, allocations: 99.7 kB / 0.4925 GB, free: 9.582 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00029/0.1297, allocations: 135.4 kB / 0.4926 GB, free: 9.449 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.295e-05/0.1298, allocations: 20 kB / 0.4927 GB, free: 9.43 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005154/0.1303, allocations: 243.7 kB / 0.4929 GB, free: 9.191 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.894e-05/0.1303, allocations: 47.78 kB / 0.4929 GB, free: 9.145 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001746/0.1305, allocations: 119.4 kB / 0.493 GB, free: 9.027 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007334/0.1312, allocations: 418.7 kB / 0.4934 GB, free: 8.617 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1312, allocations: 0 / 0.4934 GB, free: 8.617 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1312, allocations: 4 kB / 0.4934 GB, free: 8.613 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.1313, allocations: 0 / 0.4934 GB, free: 8.613 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.003436/0.1347, allocations: 0.8401 MB / 0.4943 GB, free: 7.738 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.1347, allocations: 8.031 kB / 0.4943 GB, free: 7.73 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.811e-05/0.1348, allocations: 50.73 kB / 0.4943 GB, free: 7.672 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.787e-05/0.1349, allocations: 28.78 kB / 0.4943 GB, free: 7.645 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000362/0.1353, allocations: 198.2 kB / 0.4945 GB, free: 7.426 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.1353, allocations: 20.16 kB / 0.4946 GB, free: 7.406 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.532e-05/0.1353, allocations: 20.38 kB / 0.4946 GB, free: 7.387 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005105/0.1358, allocations: 286 kB / 0.4949 GB, free: 7.102 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.1358, allocations: 3.938 kB / 0.4949 GB, free: 7.098 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.301e-05/0.1359, allocations: 8 kB / 0.4949 GB, free: 7.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.1359, allocations: 4 kB / 0.4949 GB, free: 7.086 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004982/0.1364, allocations: 295.7 kB / 0.4951 GB, free: 6.797 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001796/0.1382, allocations: 1.113 MB / 0.4962 GB, free: 5.566 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006021/0.1388, allocations: 326.5 kB / 0.4965 GB, free: 5.238 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002918/0.1391, allocations: 169.3 kB / 0.4967 GB, free: 5.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.024e-05/0.1391, allocations: 8 kB / 0.4967 GB, free: 5.062 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.1392, allocations: 42.5 kB / 0.4968 GB, free: 5.012 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 1.713e-06/0.1392, allocations: 0 / 0.4968 GB, free: 5.012 MB / 366.1 MB Notification: Performance of matching and sorting (n=30): time 0.009207/0.1484, allocations: 1.481 MB / 0.4982 GB, free: 3.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.1484, allocations: 55.41 kB / 0.4983 GB, free: 3.453 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.1487, allocations: 186.8 kB / 0.4984 GB, free: 3.262 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.19e-05/0.1487, allocations: 33.64 kB / 0.4985 GB, free: 3.223 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.1488, allocations: 129 kB / 0.4986 GB, free: 3.094 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.1489, allocations: 103.1 kB / 0.4987 GB, free: 2.992 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.149, allocations: 57.7 kB / 0.4987 GB, free: 2.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.1492, allocations: 330.8 kB / 0.4991 GB, free: 2.598 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003063/0.1495, allocations: 175.9 kB / 0.4992 GB, free: 2.426 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002815/0.1498, allocations: 180.3 kB / 0.4994 GB, free: 2.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006598/0.1505, allocations: 396.6 kB / 0.4998 GB, free: 1.859 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1505, allocations: 0 / 0.4998 GB, free: 1.859 MB / 366.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.005335/0.1558, allocations: 1.001 MB / 0.5008 GB, free: 0.8477 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.1558, allocations: 4 kB / 0.5008 GB, free: 0.8438 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1558, allocations: 0 / 0.5008 GB, free: 0.8438 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005729/0.1615, allocations: 0.7343 MB / 0.5015 GB, free: 108 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.1617, allocations: 35.98 kB / 0.5015 GB, free: 72 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008417/0.1701, allocations: 3.56 MB / 0.505 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002579/0.1704, allocations: 35.77 kB / 0.505 GB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.869e-05/0.1704, allocations: 4 kB / 0.505 GB, free: 12.37 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 (25): * Single equations (assignments): 24 * 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,6)} Notification: Performance of prepare postOptimizeDAE: time 0.000194/0.1706, allocations: 137.8 kB / 0.5052 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.371e-05/0.1707, allocations: 27.8 kB / 0.5052 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005477/0.1762, allocations: 1.02 MB / 0.5062 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.1762, allocations: 4 kB / 0.5062 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.1762, allocations: 0 / 0.5062 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.1762, allocations: 3.938 kB / 0.5062 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006161/0.1768, allocations: 412.2 kB / 0.5066 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.1768, allocations: 0 / 0.5066 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001293/0.1769, allocations: 39.91 kB / 0.5066 GB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006096/0.183, allocations: 0.7148 MB / 0.5073 GB, free: 9.953 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-05/0.1831, allocations: 11.98 kB / 0.5073 GB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01106/0.1942, allocations: 3.498 MB / 0.5107 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.1942, allocations: 0 / 0.5107 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005331/0.1995, allocations: 1.065 MB / 0.5118 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.655e-05/0.1996, allocations: 23.8 kB / 0.5118 GB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.14e-05/0.1996, allocations: 4 kB / 0.5118 GB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002886/0.1999, allocations: 23.98 kB / 0.5118 GB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.2, allocations: 27.94 kB / 0.5119 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.458e-05/0.2, allocations: 15.98 kB / 0.5119 GB, free: 5.148 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001702/0.2002, allocations: 132.3 kB / 0.512 GB, free: 5.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2002, allocations: 0 / 0.512 GB, free: 5.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005946/0.2008, allocations: 116 kB / 0.5121 GB, free: 4.906 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 (23): * Single equations (assignments): 22 * 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,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005765/0.2066, allocations: 1.626 MB / 0.5137 GB, free: 3.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001969/0.2085, allocations: 0.705 MB / 0.5144 GB, free: 2.531 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.2085, allocations: 4 kB / 0.5144 GB, free: 2.527 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001326/0.2099, allocations: 0.5061 MB / 0.5149 GB, free: 2.008 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.2102, allocations: 27.92 kB / 0.5149 GB, free: 1.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2148/0.425, allocations: 3.998 MB / 0.5188 GB, free: 28.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.4253, allocations: 0.7507 MB / 0.5195 GB, free: 28.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000119/0.4254, allocations: 29.09 kB / 0.5196 GB, free: 28.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.86e-05/0.4255, allocations: 72.72 kB / 0.5196 GB, free: 28.06 MB / 382.1 MB Notification: Performance of SimCode: time 1.182e-06/0.4255, allocations: 0 / 0.5196 GB, free: 28.06 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04527/0.4707, allocations: 12.34 MB / 0.5317 GB, free: 25.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/13.41, allocations: 9.828 kB / 0.5317 GB, free: 25.61 MB / 382.1 MB " [Timeout remaining time 646] (rm -f PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneProdLoadOneLineOneLineOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneProdLoadOneLineOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.989256032044068] Failed to read output from testmodel.py, exit status != 0: 13.532871269155294 13.553924532 13.419111381 Calling exit ...