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.001663/0.001663, allocations: 113.8 kB / 17.88 MB, free: 5.051 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.002073/0.002073, allocations: 213.6 kB / 20.84 MB, free: 2.105 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.529/1.529, allocations: 230.6 MB / 254.2 MB, free: 15.09 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.03986/0.03986, allocations: 6.142 MB / 316.4 MB, free: 1.18 MB / 238.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 51.03 kB / 439.9 MB, free: 40.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09773/0.09922, allocations: 54.99 MB / 494.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo): time 0.00246/0.1017, allocations: 1.722 MB / 496.6 MB, free: 8.781 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001624/0.1033, allocations: 1.641 MB / 498.3 MB, free: 7.125 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.423e-05/0.1034, allocations: 4 kB / 498.3 MB, free: 7.121 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003169/0.1037, allocations: 127.3 kB / 498.4 MB, free: 6.996 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002889/0.104, allocations: 159 kB / 498.6 MB, free: 6.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001443/0.1054, allocations: 1.05 MB / 499.6 MB, free: 5.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000306/0.1057, allocations: 274.7 kB / 499.9 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.1059, allocations: 70.61 kB / 500 MB, free: 5.441 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.412e-05/0.106, allocations: 111.6 kB / 0.4884 GB, free: 5.332 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.1061, allocations: 131.4 kB / 0.4885 GB, free: 5.203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.079e-05/0.1061, allocations: 24 kB / 0.4885 GB, free: 5.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003878/0.1065, allocations: 251.7 kB / 0.4887 GB, free: 4.934 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.634e-05/0.1066, allocations: 55.77 kB / 0.4888 GB, free: 4.879 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.459e-05/0.1066, allocations: 131.3 kB / 0.4889 GB, free: 4.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004761/0.1071, allocations: 458.4 kB / 0.4894 GB, free: 4.301 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1071, allocations: 4 kB / 0.4894 GB, free: 4.297 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1071, allocations: 0 / 0.4894 GB, free: 4.297 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.1071, allocations: 0 / 0.4894 GB, free: 4.297 MB / 350.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.003926/0.1111, allocations: 1.122 MB / 0.4905 GB, free: 3.117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.1111, allocations: 8.031 kB / 0.4905 GB, free: 3.109 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.602e-05/0.1111, allocations: 12.56 kB / 0.4905 GB, free: 3.098 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.874e-05/0.1112, allocations: 58.72 kB / 0.4905 GB, free: 3.031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.286e-05/0.1112, allocations: 28.8 kB / 0.4906 GB, free: 3.004 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.1115, allocations: 279.6 kB / 0.4908 GB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.1115, allocations: 20.75 kB / 0.4908 GB, free: 2.672 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.689e-05/0.1115, allocations: 24.38 kB / 0.4909 GB, free: 2.648 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004591/0.112, allocations: 342.8 kB / 0.4912 GB, free: 2.301 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.112, allocations: 4 kB / 0.4912 GB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.206e-05/0.112, allocations: 8 kB / 0.4912 GB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.112, allocations: 4 kB / 0.4912 GB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003733/0.1124, allocations: 299.8 kB / 0.4915 GB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.1138, allocations: 0.9295 MB / 0.4924 GB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007353/0.1145, allocations: 354.6 kB / 0.4927 GB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001923/0.1147, allocations: 156.8 kB / 0.4929 GB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007409/0.1154, allocations: 0.6977 MB / 0.4936 GB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.1155, allocations: 34.8 kB / 0.4936 GB, free: 15.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 2.024e-06/0.1155, allocations: 3.938 kB / 0.4936 GB, free: 15.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.003857/0.1193, allocations: 1.126 MB / 0.4947 GB, free: 14.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.827e-05/0.1194, allocations: 110.8 kB / 0.4948 GB, free: 14.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002496/0.1197, allocations: 228.9 kB / 0.495 GB, free: 14.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.542e-05/0.1197, allocations: 33.7 kB / 0.4951 GB, free: 14.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.1198, allocations: 152.7 kB / 0.4952 GB, free: 13.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.953e-05/0.1199, allocations: 95.17 kB / 0.4953 GB, free: 13.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000164/0.1201, allocations: 90.06 kB / 0.4954 GB, free: 13.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1202, allocations: 338.8 kB / 0.4957 GB, free: 13.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003238/0.1206, allocations: 192.8 kB / 0.4959 GB, free: 13.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003876/0.1209, allocations: 263.5 kB / 0.4961 GB, free: 12.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007437/0.1217, allocations: 476.5 kB / 0.4966 GB, free: 12.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.1217, allocations: 0 / 0.4966 GB, free: 12.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002319/0.124, allocations: 0.8104 MB / 0.4974 GB, free: 11.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.124, allocations: 4 kB / 0.4974 GB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.124, allocations: 0 / 0.4974 GB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002164/0.1262, allocations: 425.2 kB / 0.4978 GB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003438/0.1265, allocations: 75.89 kB / 0.4979 GB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005719/0.1323, allocations: 4.008 MB / 0.5018 GB, free: 6.891 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003761/0.1326, allocations: 47.66 kB / 0.5018 GB, free: 6.844 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.739e-05/0.1327, allocations: 16 kB / 0.5018 GB, free: 6.828 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 (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.0002029/0.1329, allocations: 146.2 kB / 0.502 GB, free: 6.676 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.631e-05/0.133, allocations: 27.81 kB / 0.502 GB, free: 6.648 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002194/0.1352, allocations: 0.7243 MB / 0.5027 GB, free: 5.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.625e-05/0.1352, allocations: 7.984 kB / 0.5027 GB, free: 5.902 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1352, allocations: 7.938 kB / 0.5027 GB, free: 5.895 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.1352, allocations: 0 / 0.5027 GB, free: 5.895 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005326/0.1357, allocations: 425.2 kB / 0.5031 GB, free: 5.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1357, allocations: 0 / 0.5031 GB, free: 5.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.1359, allocations: 39.98 kB / 0.5032 GB, free: 5.391 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002061/0.138, allocations: 405.5 kB / 0.5036 GB, free: 4.988 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.36e-05/0.138, allocations: 15.94 kB / 0.5036 GB, free: 4.973 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005689/0.1437, allocations: 4.004 MB / 0.5075 GB, free: 0.6836 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.1437, allocations: 0 / 0.5075 GB, free: 0.6836 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002171/0.1458, allocations: 0.7746 MB / 0.5082 GB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.146, allocations: 100.9 kB / 0.5083 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.85e-05/0.146, allocations: 11.95 kB / 0.5084 GB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002599/0.1463, allocations: 19.98 kB / 0.5084 GB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.1464, allocations: 27.97 kB / 0.5084 GB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.903e-05/0.1464, allocations: 12 kB / 0.5084 GB, free: 15.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001743/0.1466, allocations: 160.5 kB / 0.5086 GB, free: 15.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1466, allocations: 0 / 0.5086 GB, free: 15.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005468/0.1471, allocations: 119.9 kB / 0.5087 GB, free: 15.42 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.002549/0.1497, allocations: 1.334 MB / 0.51 GB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00187/0.1515, allocations: 0.7163 MB / 0.5107 GB, free: 13.31 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1515, allocations: 0 / 0.5107 GB, free: 13.31 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00119/0.1527, allocations: 0.5052 MB / 0.5112 GB, free: 12.78 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.1531, allocations: 23.19 kB / 0.5112 GB, free: 12.76 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007311/0.1604, allocations: 3.719 MB / 0.5148 GB, free: 8.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004691/0.1608, allocations: 0.7571 MB / 0.5156 GB, free: 8.148 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001486/0.161, allocations: 38.19 kB / 0.5156 GB, free: 8.113 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.1611, allocations: 83.41 kB / 0.5157 GB, free: 8.031 MB / 382.1 MB Notification: Performance of SimCode: time 1.253e-06/0.1611, allocations: 0 / 0.5157 GB, free: 8.031 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03462/0.1958, allocations: 9.213 MB / 0.5247 GB, free: 14.98 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/10.84, allocations: 11.91 kB / 0.5247 GB, free: 14.96 MB / 398.1 MB " [Timeout remaining time 649] (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: 13.707510954991449] Failed to read output from testmodel.py, exit status != 0: 10.999073722981848 11.025668289 10.913998323 Calling exit ...