Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.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.001331/0.001331, 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.001583/0.001583, allocations: 225.2 kB / 23.05 MB, free: 4.992 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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 8.059 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.04106/0.04106, allocations: 6.134 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.OneSourceOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 52.06 kB / 444.5 MB, free: 5.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.109, allocations: 55.02 MB / 499.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfo): time 0.00271/0.1117, allocations: 1.066 MB / 0.4888 GB, free: 13.27 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002445/0.1142, allocations: 1.528 MB / 0.4903 GB, free: 11.73 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.02e-05/0.1143, allocations: 0 / 0.4903 GB, free: 11.73 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000447/0.1147, allocations: 107.5 kB / 0.4904 GB, free: 11.62 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003017/0.115, allocations: 79.55 kB / 0.4905 GB, free: 11.55 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001784/0.1168, allocations: 0.8635 MB / 0.4914 GB, free: 10.68 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002875/0.1171, allocations: 111.5 kB / 0.4915 GB, free: 10.57 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.1172, allocations: 25.56 kB / 0.4915 GB, free: 10.54 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.624e-05/0.1173, allocations: 39.88 kB / 0.4915 GB, free: 10.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.1174, allocations: 51.77 kB / 0.4916 GB, free: 10.45 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.1174, allocations: 8 kB / 0.4916 GB, free: 10.45 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004333/0.1179, allocations: 219.8 kB / 0.4918 GB, free: 10.23 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.045e-05/0.1179, allocations: 23.91 kB / 0.4918 GB, free: 10.21 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.572e-05/0.118, allocations: 51.73 kB / 0.4919 GB, free: 10.16 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004516/0.1184, allocations: 295 kB / 0.4921 GB, free: 9.867 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.1184, allocations: 4 kB / 0.4922 GB, free: 9.863 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1184, allocations: 0 / 0.4922 GB, free: 9.863 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1184, allocations: 0 / 0.4922 GB, free: 9.863 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.002102/0.1205, allocations: 0.5754 MB / 0.4927 GB, free: 9.254 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.198e-05/0.1206, allocations: 12.03 kB / 0.4927 GB, free: 9.242 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.394e-05/0.1207, allocations: 38.73 kB / 0.4928 GB, free: 9.195 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.876e-05/0.1207, allocations: 16.89 kB / 0.4928 GB, free: 9.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.1209, allocations: 146.3 kB / 0.4929 GB, free: 9.012 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.121, allocations: 12.31 kB / 0.4929 GB, free: 9 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.19e-05/0.121, allocations: 16.31 kB / 0.4929 GB, free: 8.984 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003238/0.1213, allocations: 159.9 kB / 0.4931 GB, free: 8.816 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.1213, allocations: 3.938 kB / 0.4931 GB, free: 8.812 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.1213, allocations: 4 kB / 0.4931 GB, free: 8.809 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1213, allocations: 0 / 0.4931 GB, free: 8.809 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002149/0.1216, allocations: 131.9 kB / 0.4932 GB, free: 8.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008843/0.1224, allocations: 467.5 kB / 0.4937 GB, free: 8.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006619/0.1231, allocations: 166.6 kB / 0.4938 GB, free: 8.008 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.785e-05/0.1232, allocations: 40.86 kB / 0.4939 GB, free: 7.965 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004744/0.1237, allocations: 360.4 kB / 0.4942 GB, free: 7.594 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.1237, allocations: 42.42 kB / 0.4943 GB, free: 7.543 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.1237, allocations: 0 / 0.4943 GB, free: 7.543 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007916/0.1245, allocations: 222.3 kB / 0.4945 GB, free: 7.316 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.157e-05/0.1246, allocations: 77.11 kB / 0.4945 GB, free: 7.223 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.1247, allocations: 160.6 kB / 0.4947 GB, free: 7.055 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.29e-05/0.1247, allocations: 29.7 kB / 0.4947 GB, free: 7.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.973e-05/0.1248, allocations: 115.9 kB / 0.4948 GB, free: 6.902 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.1249, allocations: 35.72 kB / 0.4949 GB, free: 6.867 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.808e-05/0.1249, allocations: 53.64 kB / 0.4949 GB, free: 6.809 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.1251, allocations: 326.8 kB / 0.4952 GB, free: 6.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.1252, allocations: 59.98 kB / 0.4953 GB, free: 6.422 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.1254, allocations: 116.8 kB / 0.4954 GB, free: 6.289 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002644/0.1256, allocations: 185.4 kB / 0.4956 GB, free: 6.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1256, allocations: 0 / 0.4956 GB, free: 6.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000598/0.1262, allocations: 257 kB / 0.4958 GB, free: 5.832 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.1262, allocations: 8.094 kB / 0.4958 GB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1262, allocations: 4 kB / 0.4958 GB, free: 5.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004518/0.1267, allocations: 72.73 kB / 0.4959 GB, free: 5.746 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.1268, allocations: 39.92 kB / 0.4959 GB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/0.1284, allocations: 1.377 MB / 0.4973 GB, free: 4.215 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.1285, allocations: 23.81 kB / 0.4973 GB, free: 4.191 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.1285, allocations: 12 kB / 0.4973 GB, free: 4.18 MB / 366.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 (21): * Single equations (assignments): 20 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001185/0.1287, allocations: 129.7 kB / 0.4974 GB, free: 4.043 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.1287, allocations: 7.953 kB / 0.4975 GB, free: 4.035 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004975/0.1292, allocations: 191.2 kB / 0.4976 GB, free: 3.844 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1292, allocations: 0 / 0.4976 GB, free: 3.844 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.1292, allocations: 0 / 0.4976 GB, free: 3.844 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.1292, allocations: 4.312 kB / 0.4976 GB, free: 3.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.1295, allocations: 196.6 kB / 0.4978 GB, free: 3.605 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1295, allocations: 0 / 0.4978 GB, free: 3.605 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.023e-05/0.1295, allocations: 23.92 kB / 0.4978 GB, free: 3.582 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003584/0.1299, allocations: 68.75 kB / 0.4979 GB, free: 3.512 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.1299, allocations: 3.938 kB / 0.4979 GB, free: 3.508 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001502/0.1314, allocations: 1.385 MB / 0.4993 GB, free: 2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1314, allocations: 0 / 0.4993 GB, free: 2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004759/0.1319, allocations: 268.3 kB / 0.4995 GB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.415e-05/0.1319, allocations: 11.94 kB / 0.4995 GB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.1319, allocations: 4 kB / 0.4995 GB, free: 1.703 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.132, allocations: 4 kB / 0.4995 GB, free: 1.699 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/0.1321, allocations: 15.92 kB / 0.4996 GB, free: 1.684 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-06/0.1321, allocations: 4 kB / 0.4996 GB, free: 1.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001285/0.1322, allocations: 122.9 kB / 0.4997 GB, free: 1.562 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1322, allocations: 0 / 0.4997 GB, free: 1.562 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003298/0.1325, allocations: 44 kB / 0.4997 GB, free: 1.52 MB / 366.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 (10): * Single equations (assignments): 9 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008567/0.1334, allocations: 0.8107 MB / 0.5005 GB, free: 0.6797 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006212/0.134, allocations: 262.6 kB / 0.5008 GB, free: 420 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.134, allocations: 4 kB / 0.5008 GB, free: 416 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000343/0.1344, allocations: 174.9 kB / 0.5009 GB, free: 228 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.1346, allocations: 8.219 kB / 0.5009 GB, free: 220 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002703/0.1373, allocations: 1.961 MB / 0.5029 GB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.1377, allocations: 0.7084 MB / 0.5036 GB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.46e-05/0.1377, allocations: 12.95 kB / 0.5036 GB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.223e-05/0.1378, allocations: 39.42 kB / 0.5036 GB, free: 13.36 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1378, allocations: 0 / 0.5036 GB, free: 13.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0408/0.1786, allocations: 3.716 MB / 0.5072 GB, free: 9.766 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.74, allocations: 7.125 kB / 0.5072 GB, free: 9.762 MB / 382.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.52077133092098] Failed to read output from testmodel.py, exit status != 0: 11.854351603193209 12.049002285 11.927269559 Calling exit ...