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.001898/0.001898, allocations: 120.9 kB / 17.88 MB, free: 5.027 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.002618/0.002618, allocations: 209.6 kB / 20.84 MB, free: 2.082 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.564/1.564, allocations: 230.6 MB / 254.2 MB, free: 15.07 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.04099/0.04099, allocations: 6.135 MB / 316.4 MB, free: 1.105 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.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.001626/0.001626, allocations: 47.7 kB / 439.9 MB, free: 40.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09647/0.09809, allocations: 54.99 MB / 494.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfo): time 0.002306/0.1004, allocations: 1.043 MB / 496 MB, free: 9.426 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.1019, allocations: 1.52 MB / 497.5 MB, free: 7.891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.851e-05/0.102, allocations: 4 kB / 497.5 MB, free: 7.887 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003095/0.1023, allocations: 99.53 kB / 497.6 MB, free: 7.789 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002329/0.1025, allocations: 83.53 kB / 497.7 MB, free: 7.707 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.1037, allocations: 0.8636 MB / 498.5 MB, free: 6.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000181/0.1039, allocations: 107.4 kB / 498.6 MB, free: 6.734 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.397e-05/0.104, allocations: 21.41 kB / 498.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4e-05/0.104, allocations: 47.84 kB / 498.7 MB, free: 6.664 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.289e-05/0.1041, allocations: 59.64 kB / 498.8 MB, free: 6.605 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.1041, allocations: 8 kB / 498.8 MB, free: 6.598 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003006/0.1044, allocations: 215.8 kB / 499 MB, free: 6.387 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.799e-05/0.1044, allocations: 19.92 kB / 499 MB, free: 6.367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.292e-05/0.1045, allocations: 59.66 kB / 499.1 MB, free: 6.309 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003103/0.1048, allocations: 283.1 kB / 499.3 MB, free: 6.031 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1048, allocations: 0 / 499.3 MB, free: 6.031 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1048, allocations: 0 / 499.3 MB, free: 6.031 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.1048, allocations: 0 / 499.3 MB, free: 6.031 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001856/0.1067, allocations: 0.6545 MB / 500 MB, free: 5.324 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.1067, allocations: 16.03 kB / 0.4883 GB, free: 5.309 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.354e-05/0.1067, allocations: 4.172 kB / 0.4883 GB, free: 5.305 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.037e-05/0.1068, allocations: 50.73 kB / 0.4883 GB, free: 5.246 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.286e-05/0.1068, allocations: 16.84 kB / 0.4884 GB, free: 5.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.107, allocations: 196.2 kB / 0.4885 GB, free: 5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.107, allocations: 12.33 kB / 0.4886 GB, free: 4.988 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.107, allocations: 12.38 kB / 0.4886 GB, free: 4.977 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/0.1072, allocations: 158.4 kB / 0.4887 GB, free: 4.812 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.1072, allocations: 7.938 kB / 0.4887 GB, free: 4.805 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.1073, allocations: 8 kB / 0.4887 GB, free: 4.797 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.1073, allocations: 0 / 0.4887 GB, free: 4.797 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.1074, allocations: 116 kB / 0.4888 GB, free: 4.684 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000616/0.108, allocations: 492.4 kB / 0.4893 GB, free: 4.152 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006197/0.1087, allocations: 174.6 kB / 0.4895 GB, free: 3.973 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.865e-05/0.1087, allocations: 48.84 kB / 0.4895 GB, free: 3.922 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003489/0.1091, allocations: 454.6 kB / 0.49 GB, free: 3.434 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.365e-05/0.1091, allocations: 42.44 kB / 0.49 GB, free: 3.383 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.452e-06/0.1091, allocations: 0 / 0.49 GB, free: 3.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007141/0.1098, allocations: 295.4 kB / 0.4903 GB, free: 3.066 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.1098, allocations: 85.05 kB / 0.4904 GB, free: 2.965 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.1099, allocations: 158.4 kB / 0.4905 GB, free: 2.797 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.11, allocations: 29.7 kB / 0.4905 GB, free: 2.762 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.209e-05/0.11, allocations: 119.9 kB / 0.4907 GB, free: 2.641 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.11, allocations: 39.69 kB / 0.4907 GB, free: 2.602 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.096e-05/0.1101, allocations: 45.7 kB / 0.4907 GB, free: 2.551 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.016e-05/0.1101, allocations: 322.8 kB / 0.4911 GB, free: 2.227 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.374e-05/0.1102, allocations: 59.97 kB / 0.4911 GB, free: 2.168 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.914e-05/0.1103, allocations: 113 kB / 0.4912 GB, free: 2.039 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.1105, allocations: 171.1 kB / 0.4914 GB, free: 1.855 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1105, allocations: 0 / 0.4914 GB, free: 1.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005027/0.111, allocations: 266.3 kB / 0.4916 GB, free: 1.586 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.111, allocations: 5.406 kB / 0.4916 GB, free: 1.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.111, allocations: 3.938 kB / 0.4916 GB, free: 1.578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004099/0.1114, allocations: 68.81 kB / 0.4917 GB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.1116, allocations: 39.97 kB / 0.4917 GB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001141/0.1127, allocations: 1.477 MB / 0.4932 GB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.1129, allocations: 19.83 kB / 0.4932 GB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.1129, allocations: 8 kB / 0.4932 GB, free: 15.82 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.0001241/0.113, allocations: 130.3 kB / 0.4933 GB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.999e-05/0.1131, allocations: 11.95 kB / 0.4933 GB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005053/0.1136, allocations: 199.1 kB / 0.4935 GB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.1136, allocations: 0 / 0.4935 GB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1136, allocations: 4 kB / 0.4935 GB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1136, allocations: 3.938 kB / 0.4935 GB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002745/0.1138, allocations: 225.6 kB / 0.4938 GB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1139, allocations: 4 kB / 0.4938 GB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.927e-05/0.1139, allocations: 16 kB / 0.4938 GB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003693/0.1143, allocations: 64.8 kB / 0.4938 GB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.1143, allocations: 4 kB / 0.4938 GB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001549/0.1159, allocations: 1.481 MB / 0.4953 GB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1159, allocations: 4.031 kB / 0.4953 GB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004837/0.1163, allocations: 268.1 kB / 0.4956 GB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.735e-05/0.1164, allocations: 85.06 kB / 0.4956 GB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.1165, allocations: 11.92 kB / 0.4956 GB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.1166, allocations: 8.062 kB / 0.4957 GB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.917e-05/0.1166, allocations: 7.984 kB / 0.4957 GB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.1166, allocations: 8 kB / 0.4957 GB, free: 13.06 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001062/0.1167, allocations: 118.1 kB / 0.4958 GB, free: 12.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1167, allocations: 0 / 0.4958 GB, free: 12.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003493/0.1171, allocations: 44 kB / 0.4958 GB, free: 12.91 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.0009275/0.118, allocations: 0.8186 MB / 0.4966 GB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006456/0.1186, allocations: 254.5 kB / 0.4969 GB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1187, allocations: 4 kB / 0.4969 GB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000348/0.119, allocations: 170.7 kB / 0.497 GB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.1192, allocations: 8 kB / 0.497 GB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002623/0.1219, allocations: 1.952 MB / 0.4989 GB, free: 9.543 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.1222, allocations: 0.7083 MB / 0.4996 GB, free: 8.809 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.526e-05/0.1223, allocations: 16.88 kB / 0.4997 GB, free: 8.789 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.073e-05/0.1224, allocations: 35.42 kB / 0.4997 GB, free: 8.754 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1224, allocations: 3.938 kB / 0.4997 GB, free: 8.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02331/0.1457, allocations: 3.611 MB / 0.5032 GB, free: 5.242 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.21/10.35, allocations: 5.812 kB / 0.5032 GB, free: 5.238 MB / 366.1 MB " [Timeout remaining time 650] (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: 13.271957829012536] Failed to read output from testmodel.py, exit status != 0: 10.498722558957525 10.527568072 10.417497445 Calling exit ...