Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.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.001773/0.001773, 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.002266/0.002266, 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.945 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.03698/0.03698, allocations: 6.133 MB / 319.3 MB, free: 12.75 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.OneSourceOneTransfoOneLineOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 43.94 kB / 444.4 MB, free: 5.078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1033, allocations: 55.02 MB / 499.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo): time 0.003664/0.107, allocations: 1.553 MB / 0.4893 GB, free: 12.4 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002793/0.1098, allocations: 1.575 MB / 0.4908 GB, free: 10.81 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.1099, allocations: 4 kB / 0.4908 GB, free: 10.81 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004048/0.1103, allocations: 131.3 kB / 0.4909 GB, free: 10.68 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003953/0.1107, allocations: 159.1 kB / 0.4911 GB, free: 10.52 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002034/0.1127, allocations: 0.9686 MB / 0.492 GB, free: 9.551 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005609/0.1133, allocations: 274.7 kB / 0.4923 GB, free: 9.281 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000193/0.1135, allocations: 48.92 kB / 0.4923 GB, free: 9.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.1136, allocations: 119.6 kB / 0.4924 GB, free: 9.113 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001893/0.1138, allocations: 115.4 kB / 0.4925 GB, free: 9 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.046e-05/0.1138, allocations: 20 kB / 0.4926 GB, free: 8.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005285/0.1144, allocations: 235.8 kB / 0.4928 GB, free: 8.75 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.267e-05/0.1144, allocations: 55.77 kB / 0.4928 GB, free: 8.695 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.1146, allocations: 111.5 kB / 0.493 GB, free: 8.586 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006307/0.1152, allocations: 462.4 kB / 0.4934 GB, free: 8.133 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1152, allocations: 0 / 0.4934 GB, free: 8.133 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1152, allocations: 0 / 0.4934 GB, free: 8.133 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.882e-06/0.1152, allocations: 4 kB / 0.4934 GB, free: 8.129 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.004031/0.1192, allocations: 1.043 MB / 0.4944 GB, free: 7.047 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.1193, allocations: 8.031 kB / 0.4944 GB, free: 7.039 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.244e-05/0.1194, allocations: 54.73 kB / 0.4945 GB, free: 6.977 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.136e-05/0.1194, allocations: 32.75 kB / 0.4945 GB, free: 6.945 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003388/0.1198, allocations: 213.9 kB / 0.4947 GB, free: 6.711 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.1198, allocations: 24.69 kB / 0.4947 GB, free: 6.688 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.452e-05/0.1199, allocations: 24.38 kB / 0.4948 GB, free: 6.664 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006982/0.1206, allocations: 484.2 kB / 0.4952 GB, free: 6.145 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.1206, allocations: 7.922 kB / 0.4952 GB, free: 6.137 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.319e-05/0.1206, allocations: 15.94 kB / 0.4952 GB, free: 6.121 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.1206, allocations: 4 kB / 0.4952 GB, free: 6.117 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000493/0.1211, allocations: 303.3 kB / 0.4955 GB, free: 5.824 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001806/0.1229, allocations: 0.8076 MB / 0.4963 GB, free: 4.973 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00091/0.1238, allocations: 342.7 kB / 0.4967 GB, free: 4.629 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002735/0.1241, allocations: 160.8 kB / 0.4968 GB, free: 4.469 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009262/0.125, allocations: 0.5162 MB / 0.4973 GB, free: 3.934 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.389e-05/0.1251, allocations: 38.8 kB / 0.4973 GB, free: 3.887 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 2.755e-06/0.1251, allocations: 0 / 0.4973 GB, free: 3.887 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.003659/0.1287, allocations: 0.9751 MB / 0.4983 GB, free: 2.902 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.188e-05/0.1288, allocations: 110.8 kB / 0.4984 GB, free: 2.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000291/0.1291, allocations: 232.8 kB / 0.4986 GB, free: 2.535 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.731e-05/0.1292, allocations: 33.7 kB / 0.4987 GB, free: 2.496 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.1293, allocations: 144.8 kB / 0.4988 GB, free: 2.348 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.1294, allocations: 99.11 kB / 0.4989 GB, free: 2.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001742/0.1296, allocations: 94.06 kB / 0.499 GB, free: 2.148 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.1297, allocations: 330.8 kB / 0.4993 GB, free: 1.816 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000332/0.1301, allocations: 200.8 kB / 0.4995 GB, free: 1.621 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004386/0.1305, allocations: 322.5 kB / 0.4998 GB, free: 1.273 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007185/0.1312, allocations: 476.9 kB / 0.5002 GB, free: 0.7891 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.1312, allocations: 4 kB / 0.5003 GB, free: 0.7852 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002146/0.1334, allocations: 0.8146 MB / 0.501 GB, free: 15.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.1334, allocations: 4 kB / 0.5011 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.1334, allocations: 4 kB / 0.5011 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002008/0.1354, allocations: 409.3 kB / 0.5014 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003056/0.1357, allocations: 71.91 kB / 0.5015 GB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005091/0.1408, allocations: 3.762 MB / 0.5052 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003334/0.1411, allocations: 50.08 kB / 0.5052 GB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-05/0.1412, allocations: 19.92 kB / 0.5053 GB, free: 11.42 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001847/0.1414, allocations: 157.8 kB / 0.5054 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.836e-05/0.1414, allocations: 27.91 kB / 0.5054 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002081/0.1435, allocations: 0.7329 MB / 0.5061 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-06/0.1435, allocations: 4 kB / 0.5062 GB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.1435, allocations: 4 kB / 0.5062 GB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1435, allocations: 3.984 kB / 0.5062 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004066/0.1439, allocations: 316.4 kB / 0.5065 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1439, allocations: 0 / 0.5065 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.1441, allocations: 51.91 kB / 0.5065 GB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001944/0.1461, allocations: 405.2 kB / 0.5069 GB, free: 9.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.322e-05/0.1461, allocations: 7.984 kB / 0.5069 GB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005112/0.1512, allocations: 3.762 MB / 0.5106 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1512, allocations: 0 / 0.5106 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001979/0.1532, allocations: 0.7629 MB / 0.5113 GB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.725e-05/0.1533, allocations: 31.69 kB / 0.5114 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.567e-05/0.1533, allocations: 4 kB / 0.5114 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002612/0.1536, allocations: 30.66 kB / 0.5114 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.712e-05/0.1536, allocations: 23.95 kB / 0.5114 GB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-05/0.1537, allocations: 8 kB / 0.5114 GB, free: 4.781 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001828/0.1539, allocations: 164.4 kB / 0.5116 GB, free: 4.617 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1539, allocations: 0 / 0.5116 GB, free: 4.617 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005197/0.1544, allocations: 119.9 kB / 0.5117 GB, free: 4.5 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002337/0.1567, allocations: 1.335 MB / 0.513 GB, free: 3.133 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00179/0.1585, allocations: 0.7238 MB / 0.5137 GB, free: 2.383 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/0.1585, allocations: 0 / 0.5137 GB, free: 2.383 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.1596, allocations: 0.5052 MB / 0.5142 GB, free: 1.852 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.1599, allocations: 20.42 kB / 0.5142 GB, free: 1.832 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1916/0.3515, allocations: 3.72 MB / 0.5178 GB, free: 28.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.3516, allocations: 156.7 kB / 0.518 GB, free: 28.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001356/0.3518, allocations: 29.09 kB / 0.518 GB, free: 28.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.3519, allocations: 86.64 kB / 0.5181 GB, free: 28.75 MB / 382.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3519, allocations: 3.781 kB / 0.5181 GB, free: 28.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0428/0.3947, allocations: 10.1 MB / 0.528 GB, free: 27.06 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.25, allocations: 8 kB / 0.528 GB, free: 27.06 MB / 382.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.860976305324584] Failed to read output from testmodel.py, exit status != 0: 12.37195161683485 12.391723725 12.273742062 Calling exit ...