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.001902/0.001902, allocations: 93.91 kB / 20.52 MB, free: 1.328 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.002525/0.002525, allocations: 215.6 kB / 23.82 MB, free: 4.48 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.481/1.481, allocations: 230.6 MB / 257.6 MB, free: 7.797 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.04082/0.04082, allocations: 6.149 MB / 320.1 MB, free: 12.72 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 43.92 kB / 445.2 MB, free: 5.066 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1038, allocations: 55.02 MB / 0.4885 GB, free: 13.95 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfo): time 0.002571/0.1063, allocations: 0.9694 MB / 0.4894 GB, free: 12.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002262/0.1086, allocations: 1.454 MB / 0.4909 GB, free: 11.51 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.228e-05/0.1087, allocations: 0 / 0.4909 GB, free: 11.51 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003685/0.109, allocations: 103.5 kB / 0.491 GB, free: 11.41 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002825/0.1093, allocations: 79.48 kB / 0.491 GB, free: 11.33 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001562/0.1109, allocations: 0.7858 MB / 0.4918 GB, free: 10.54 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002232/0.1111, allocations: 115.5 kB / 0.4919 GB, free: 10.43 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.1112, allocations: 21.58 kB / 0.4919 GB, free: 10.41 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.678e-05/0.1113, allocations: 43.84 kB / 0.492 GB, free: 10.36 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.917e-05/0.1114, allocations: 51.78 kB / 0.492 GB, free: 10.31 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.1114, allocations: 11.94 kB / 0.492 GB, free: 10.3 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004022/0.1118, allocations: 211.8 kB / 0.4922 GB, free: 10.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.294e-05/0.1118, allocations: 19.92 kB / 0.4923 GB, free: 10.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.241e-05/0.1119, allocations: 51.78 kB / 0.4923 GB, free: 10.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004851/0.1124, allocations: 287 kB / 0.4926 GB, free: 9.742 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1124, allocations: 0 / 0.4926 GB, free: 9.742 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1124, allocations: 4 kB / 0.4926 GB, free: 9.738 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.241e-06/0.1124, allocations: 0 / 0.4926 GB, free: 9.738 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.002128/0.1145, allocations: 0.5754 MB / 0.4932 GB, free: 9.129 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.1146, allocations: 15.97 kB / 0.4932 GB, free: 9.113 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.437e-05/0.1146, allocations: 192 / 0.4932 GB, free: 9.113 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.987e-05/0.1146, allocations: 42.73 kB / 0.4932 GB, free: 9.062 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.385e-05/0.1147, allocations: 16.84 kB / 0.4932 GB, free: 9.047 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.1149, allocations: 146.4 kB / 0.4934 GB, free: 8.879 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.1149, allocations: 12.36 kB / 0.4934 GB, free: 8.867 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.877e-05/0.115, allocations: 12.38 kB / 0.4934 GB, free: 8.855 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003441/0.1153, allocations: 188.1 kB / 0.4936 GB, free: 8.656 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.1153, allocations: 0 / 0.4936 GB, free: 8.656 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.1153, allocations: 8 kB / 0.4936 GB, free: 8.648 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1153, allocations: 0 / 0.4936 GB, free: 8.648 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002213/0.1156, allocations: 120 kB / 0.4937 GB, free: 8.531 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000823/0.1164, allocations: 443.5 kB / 0.4941 GB, free: 8.055 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006861/0.1171, allocations: 162.6 kB / 0.4943 GB, free: 7.887 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.713e-05/0.1172, allocations: 48.84 kB / 0.4943 GB, free: 7.836 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004794/0.1176, allocations: 328.4 kB / 0.4946 GB, free: 7.496 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.1177, allocations: 38.5 kB / 0.4947 GB, free: 7.449 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.1177, allocations: 0 / 0.4947 GB, free: 7.449 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008239/0.1185, allocations: 218.3 kB / 0.4949 GB, free: 7.227 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.244e-05/0.1186, allocations: 81.11 kB / 0.495 GB, free: 7.129 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.1187, allocations: 162.4 kB / 0.4951 GB, free: 6.957 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.1188, allocations: 29.7 kB / 0.4951 GB, free: 6.922 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.891e-05/0.1188, allocations: 119.9 kB / 0.4952 GB, free: 6.801 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.567e-05/0.1189, allocations: 36.39 kB / 0.4953 GB, free: 6.766 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.694e-05/0.1189, allocations: 41.7 kB / 0.4953 GB, free: 6.719 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.1191, allocations: 334.8 kB / 0.4956 GB, free: 6.383 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.1192, allocations: 67.91 kB / 0.4957 GB, free: 6.316 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/0.1194, allocations: 145.2 kB / 0.4958 GB, free: 6.148 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002667/0.1197, allocations: 176.1 kB / 0.496 GB, free: 5.961 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1197, allocations: 0 / 0.496 GB, free: 5.961 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.00059/0.1203, allocations: 262.2 kB / 0.4963 GB, free: 5.695 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.1203, allocations: 8.156 kB / 0.4963 GB, free: 5.688 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.1203, allocations: 7.938 kB / 0.4963 GB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000438/0.1207, allocations: 60.81 kB / 0.4963 GB, free: 5.617 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.1209, allocations: 39.91 kB / 0.4964 GB, free: 5.578 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00161/0.1225, allocations: 1.369 MB / 0.4977 GB, free: 4.094 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001633/0.1227, allocations: 23.81 kB / 0.4977 GB, free: 4.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.1227, allocations: 11.98 kB / 0.4977 GB, free: 4.059 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.0001254/0.1228, allocations: 129.7 kB / 0.4979 GB, free: 3.922 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.913e-05/0.1228, allocations: 16.09 kB / 0.4979 GB, free: 3.906 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004971/0.1233, allocations: 191.1 kB / 0.4981 GB, free: 3.715 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1233, allocations: 3.938 kB / 0.4981 GB, free: 3.711 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/0.1234, allocations: 0 / 0.4981 GB, free: 3.711 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.1234, allocations: 7.875 kB / 0.4981 GB, free: 3.703 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002482/0.1236, allocations: 184.7 kB / 0.4983 GB, free: 3.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.1236, allocations: 4 kB / 0.4983 GB, free: 3.477 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.562e-05/0.1237, allocations: 15.98 kB / 0.4983 GB, free: 3.461 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003642/0.124, allocations: 68.8 kB / 0.4983 GB, free: 3.391 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.1241, allocations: 4 kB / 0.4983 GB, free: 3.387 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001386/0.1254, allocations: 1.365 MB / 0.4997 GB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1254, allocations: 0 / 0.4997 GB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004735/0.1259, allocations: 272.2 kB / 0.4999 GB, free: 1.613 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.116e-05/0.1259, allocations: 11.94 kB / 0.4999 GB, free: 1.602 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.126, allocations: 4 kB / 0.5 GB, free: 1.598 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.1261, allocations: 4.094 kB / 0.5 GB, free: 1.594 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.906e-05/0.1261, allocations: 11.98 kB / 0.5 GB, free: 1.582 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.1261, allocations: 0 / 0.5 GB, free: 1.582 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001116/0.1262, allocations: 124.9 kB / 0.5001 GB, free: 1.461 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1262, allocations: 3.938 kB / 0.5001 GB, free: 1.457 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003192/0.1265, allocations: 40 kB / 0.5001 GB, free: 1.418 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.0008559/0.1274, allocations: 0.8146 MB / 0.5009 GB, free: 0.5742 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006504/0.128, allocations: 258.5 kB / 0.5012 GB, free: 316 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.128, allocations: 0 / 0.5012 GB, free: 316 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003354/0.1284, allocations: 174.9 kB / 0.5013 GB, free: 128 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.1286, allocations: 16 kB / 0.5014 GB, free: 112 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002651/0.1313, allocations: 1.962 MB / 0.5033 GB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.1314, allocations: 92.62 kB / 0.5034 GB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.426e-05/0.1315, allocations: 16.95 kB / 0.5034 GB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.5e-05/0.1315, allocations: 31.42 kB / 0.5034 GB, free: 13.88 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1315, allocations: 0 / 0.5034 GB, free: 13.88 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02705/0.1586, allocations: 3.812 MB / 0.5071 GB, free: 10.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.17, allocations: 4.062 kB / 0.5071 GB, free: 10.21 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: 15.065270110033453] Failed to read output from testmodel.py, exit status != 0: 12.338981084059924 12.54638058 12.430581223 Calling exit ...