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.001298/0.001298, 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.001593/0.001593, 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.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 7.938 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.03562/0.03562, allocations: 6.134 MB / 319.4 MB, free: 12.73 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.001557/0.001557, allocations: 47.92 kB / 444.4 MB, free: 5.059 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1088, allocations: 55.02 MB / 499.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfo): time 0.002376/0.1112, allocations: 0.9733 MB / 0.4887 GB, free: 12.96 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002013/0.1132, allocations: 1.454 MB / 0.4901 GB, free: 11.5 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.471e-05/0.1133, allocations: 4 kB / 0.4901 GB, free: 11.49 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003525/0.1136, allocations: 107.5 kB / 0.4902 GB, free: 11.39 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002521/0.1139, allocations: 79.53 kB / 0.4903 GB, free: 11.31 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001578/0.1154, allocations: 0.778 MB / 0.4911 GB, free: 10.53 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002483/0.1157, allocations: 115.4 kB / 0.4912 GB, free: 10.41 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.1158, allocations: 17.59 kB / 0.4912 GB, free: 10.39 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.375e-05/0.1159, allocations: 47.78 kB / 0.4912 GB, free: 10.35 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.246e-05/0.116, allocations: 51.77 kB / 0.4913 GB, free: 10.3 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.116, allocations: 8 kB / 0.4913 GB, free: 10.29 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004189/0.1164, allocations: 203.8 kB / 0.4915 GB, free: 10.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.383e-05/0.1164, allocations: 23.91 kB / 0.4915 GB, free: 10.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.002e-05/0.1165, allocations: 39.81 kB / 0.4915 GB, free: 10.03 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000467/0.117, allocations: 291 kB / 0.4918 GB, free: 9.742 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.117, allocations: 0 / 0.4918 GB, free: 9.742 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.117, allocations: 0 / 0.4918 GB, free: 9.742 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.117, allocations: 0 / 0.4918 GB, free: 9.742 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.002069/0.119, allocations: 0.5793 MB / 0.4924 GB, free: 9.129 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.1191, allocations: 12.03 kB / 0.4924 GB, free: 9.117 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.516e-05/0.1192, allocations: 42.75 kB / 0.4924 GB, free: 9.066 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.413e-05/0.1192, allocations: 8.891 kB / 0.4924 GB, free: 9.059 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002342/0.1194, allocations: 146.3 kB / 0.4926 GB, free: 8.891 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.1194, allocations: 12.31 kB / 0.4926 GB, free: 8.879 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.053e-05/0.1195, allocations: 12.38 kB / 0.4926 GB, free: 8.867 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003601/0.1198, allocations: 193.5 kB / 0.4928 GB, free: 8.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.1199, allocations: 7.922 kB / 0.4928 GB, free: 8.652 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.1199, allocations: 4 kB / 0.4928 GB, free: 8.648 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/0.1199, allocations: 4 kB / 0.4928 GB, free: 8.645 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002281/0.1201, allocations: 120 kB / 0.4929 GB, free: 8.527 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008261/0.1209, allocations: 427.6 kB / 0.4933 GB, free: 8.066 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006443/0.1216, allocations: 170.6 kB / 0.4935 GB, free: 7.891 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.655e-05/0.1217, allocations: 40.86 kB / 0.4935 GB, free: 7.848 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004379/0.1221, allocations: 340.3 kB / 0.4939 GB, free: 7.496 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.1221, allocations: 38.5 kB / 0.4939 GB, free: 7.449 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.743e-06/0.1221, allocations: 0 / 0.4939 GB, free: 7.449 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007835/0.1229, allocations: 214.3 kB / 0.4941 GB, free: 7.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.304e-05/0.123, allocations: 85.09 kB / 0.4942 GB, free: 7.129 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.1232, allocations: 164.8 kB / 0.4943 GB, free: 6.957 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.436e-05/0.1232, allocations: 29.7 kB / 0.4944 GB, free: 6.922 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.558e-05/0.1233, allocations: 120.2 kB / 0.4945 GB, free: 6.801 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.466e-05/0.1233, allocations: 31.7 kB / 0.4945 GB, free: 6.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.228e-05/0.1234, allocations: 45.69 kB / 0.4945 GB, free: 6.719 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.1236, allocations: 326.8 kB / 0.4949 GB, free: 6.391 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.1237, allocations: 59.92 kB / 0.4949 GB, free: 6.332 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.1239, allocations: 151.6 kB / 0.4951 GB, free: 6.156 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000268/0.1242, allocations: 172.6 kB / 0.4952 GB, free: 5.973 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1242, allocations: 0 / 0.4952 GB, free: 5.973 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005573/0.1247, allocations: 262.1 kB / 0.4955 GB, free: 5.707 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.1247, allocations: 8 kB / 0.4955 GB, free: 5.699 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1247, allocations: 0 / 0.4955 GB, free: 5.699 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004184/0.1252, allocations: 72.89 kB / 0.4956 GB, free: 5.625 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.1253, allocations: 35.92 kB / 0.4956 GB, free: 5.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001499/0.1268, allocations: 1.377 MB / 0.4969 GB, free: 4.098 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.127, allocations: 23.92 kB / 0.497 GB, free: 4.074 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.127, allocations: 8 kB / 0.497 GB, free: 4.066 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.0001271/0.1271, allocations: 133.7 kB / 0.4971 GB, free: 3.926 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.509e-05/0.1271, allocations: 7.953 kB / 0.4971 GB, free: 3.918 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004864/0.1276, allocations: 191.2 kB / 0.4973 GB, free: 3.727 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1276, allocations: 4 kB / 0.4973 GB, free: 3.723 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.1276, allocations: 0 / 0.4973 GB, free: 3.723 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.1276, allocations: 7.922 kB / 0.4973 GB, free: 3.715 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002379/0.1279, allocations: 184.6 kB / 0.4975 GB, free: 3.492 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1279, allocations: 0 / 0.4975 GB, free: 3.492 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.749e-05/0.1279, allocations: 19.94 kB / 0.4975 GB, free: 3.473 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003289/0.1283, allocations: 72.73 kB / 0.4976 GB, free: 3.398 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.1283, allocations: 0 / 0.4976 GB, free: 3.398 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001319/0.1296, allocations: 1.365 MB / 0.4989 GB, free: 1.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1296, allocations: 0 / 0.4989 GB, free: 1.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004426/0.1301, allocations: 276.3 kB / 0.4992 GB, free: 1.621 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.99e-05/0.1301, allocations: 7.953 kB / 0.4992 GB, free: 1.613 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.1301, allocations: 0 / 0.4992 GB, free: 1.613 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.1302, allocations: 8 kB / 0.4992 GB, free: 1.605 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.577e-05/0.1302, allocations: 11.92 kB / 0.4992 GB, free: 1.594 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.1302, allocations: 12.08 kB / 0.4992 GB, free: 1.582 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000107/0.1303, allocations: 122.9 kB / 0.4993 GB, free: 1.465 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1303, allocations: 0 / 0.4993 GB, free: 1.465 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003184/0.1307, allocations: 43.98 kB / 0.4994 GB, free: 1.422 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.0008262/0.1315, allocations: 0.8106 MB / 0.5001 GB, free: 0.582 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000591/0.1321, allocations: 258.6 kB / 0.5004 GB, free: 324 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1321, allocations: 0 / 0.5004 GB, free: 324 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003163/0.1324, allocations: 182.5 kB / 0.5006 GB, free: 128 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.1326, allocations: 17.75 kB / 0.5006 GB, free: 116 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002569/0.1352, allocations: 1.955 MB / 0.5025 GB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.763e-05/0.1353, allocations: 100.6 kB / 0.5026 GB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.889e-05/0.1354, allocations: 8.984 kB / 0.5026 GB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.161e-05/0.1354, allocations: 31.42 kB / 0.5026 GB, free: 13.89 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1354, allocations: 0 / 0.5026 GB, free: 13.89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04307/0.1785, allocations: 4.12 MB / 0.5066 GB, free: 9.902 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.65, allocations: 7.938 kB / 0.5067 GB, free: 9.895 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.414075118023902] Failed to read output from testmodel.py, exit status != 0: 11.754571333993226 11.955800615 11.836079008 Calling exit ...