Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 108.7 kB / 17.17 MB, free: 5.867 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001945/0.001945, allocations: 197.4 kB / 20.12 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 225.6 MB / 248.5 MB, free: 3.656 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05196/0.05196, allocations: 8.228 MB / 311.6 MB, free: 2.117 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesThreeLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesThreeLoads",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 59.91 kB / 434 MB, free: 11.86 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2322, allocations: 54.36 MB / 488.3 MB, free: 27.51 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads): time 0.002846/0.235, allocations: 2.261 MB / 490.6 MB, free: 25.74 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.2367, allocations: 1.669 MB / 492.2 MB, free: 24.39 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.2369, allocations: 5.594 kB / 492.2 MB, free: 24.39 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003708/0.2372, allocations: 155.7 kB / 492.4 MB, free: 24.29 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003556/0.2376, allocations: 189.9 kB / 492.6 MB, free: 24.13 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001405/0.239, allocations: 0.9765 MB / 493.6 MB, free: 23.41 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003906/0.2394, allocations: 421.2 kB / 494 MB, free: 23.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.2396, allocations: 105.6 kB / 494.1 MB, free: 23.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.2397, allocations: 171 kB / 494.2 MB, free: 22.99 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002312/0.2399, allocations: 217.5 kB / 494.5 MB, free: 22.86 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.926e-05/0.24, allocations: 32.44 kB / 494.5 MB, free: 22.86 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003498/0.2403, allocations: 223.5 kB / 494.7 MB, free: 22.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.33e-05/0.2404, allocations: 84.12 kB / 494.8 MB, free: 22.7 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.2405, allocations: 203.2 kB / 495 MB, free: 22.55 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005472/0.2411, allocations: 0.543 MB / 495.5 MB, free: 22.19 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.2411, allocations: 4 kB / 495.5 MB, free: 22.19 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2411, allocations: 0 / 495.5 MB, free: 22.19 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.2411, allocations: 3.938 kB / 495.5 MB, free: 22.18 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0033/0.2444, allocations: 1.154 MB / 496.7 MB, free: 21.38 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.2444, allocations: 17.02 kB / 496.7 MB, free: 21.38 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.251e-05/0.2445, allocations: 65.31 kB / 496.8 MB, free: 21.31 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.032e-05/0.2446, allocations: 50.47 kB / 496.8 MB, free: 21.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003618/0.2449, allocations: 330 kB / 497.1 MB, free: 20.96 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.2449, allocations: 21.28 kB / 497.2 MB, free: 20.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.036e-05/0.245, allocations: 33.34 kB / 497.2 MB, free: 20.95 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005874/0.2456, allocations: 417.1 kB / 497.6 MB, free: 20.69 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.2456, allocations: 5.062 kB / 497.6 MB, free: 20.69 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/0.2456, allocations: 15.53 kB / 497.6 MB, free: 20.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.2456, allocations: 10.25 kB / 497.6 MB, free: 20.67 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005253/0.2462, allocations: 404.7 kB / 498 MB, free: 20.46 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001754/0.2479, allocations: 1.535 MB / 499.6 MB, free: 19.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009971/0.2489, allocations: 0.5186 MB / 0.4884 GB, free: 18.81 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003116/0.2492, allocations: 248.7 kB / 0.4886 GB, free: 18.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.651e-05/0.2493, allocations: 7.5 kB / 0.4886 GB, free: 18.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.683e-05/0.2493, allocations: 37.34 kB / 0.4886 GB, free: 18.63 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 1.393e-06/0.2493, allocations: 1.125 kB / 0.4886 GB, free: 18.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.004089/0.2534, allocations: 1.638 MB / 0.4902 GB, free: 17.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.2534, allocations: 56.94 kB / 0.4903 GB, free: 17.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/0.2537, allocations: 269 kB / 0.4906 GB, free: 17.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.66e-05/0.2537, allocations: 36.92 kB / 0.4906 GB, free: 17.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.474e-05/0.2538, allocations: 174.8 kB / 0.4908 GB, free: 17.12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.102e-05/0.2539, allocations: 164 kB / 0.4909 GB, free: 16.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.254, allocations: 90.2 kB / 0.491 GB, free: 16.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.02e-05/0.2541, allocations: 350.8 kB / 0.4913 GB, free: 16.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003433/0.2544, allocations: 257.6 kB / 0.4916 GB, free: 16.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003448/0.2548, allocations: 271.7 kB / 0.4918 GB, free: 16.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007151/0.2555, allocations: 0.5731 MB / 0.4924 GB, free: 15.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2555, allocations: 0 / 0.4924 GB, free: 15.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001999/0.2575, allocations: 1.014 MB / 0.4934 GB, free: 15.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.2575, allocations: 4.938 kB / 0.4934 GB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.2575, allocations: 0 / 0.4934 GB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001584/0.2591, allocations: 425.4 kB / 0.4938 GB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002681/0.2594, allocations: 75.39 kB / 0.4939 GB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005237/0.2646, allocations: 6.118 MB / 0.4998 GB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003053/0.2649, allocations: 48.08 kB / 0.4999 GB, free: 9.527 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.715e-05/0.2649, allocations: 14.91 kB / 0.4999 GB, free: 9.523 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001488/0.2651, allocations: 159.6 kB / 0.5001 GB, free: 9.375 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.37e-05/0.2652, allocations: 40.2 kB / 0.5001 GB, free: 9.352 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002009/0.2672, allocations: 0.9831 MB / 0.5011 GB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.2672, allocations: 4.562 kB / 0.5011 GB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.2672, allocations: 5.094 kB / 0.5011 GB, free: 8.727 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.2672, allocations: 3.984 kB / 0.5011 GB, free: 8.723 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004375/0.2676, allocations: 0.5645 MB / 0.5016 GB, free: 8.227 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2676, allocations: 0 / 0.5016 GB, free: 8.227 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/0.2678, allocations: 60.88 kB / 0.5017 GB, free: 8.211 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001499/0.2693, allocations: 419.9 kB / 0.5021 GB, free: 7.977 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.823e-05/0.2693, allocations: 10.75 kB / 0.5021 GB, free: 7.969 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004779/0.2741, allocations: 6.042 MB / 0.508 GB, free: 2.461 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.2741, allocations: 4.062 kB / 0.508 GB, free: 2.457 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0019/0.276, allocations: 0.9969 MB / 0.509 GB, free: 1.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.323e-05/0.2761, allocations: 124.6 kB / 0.5091 GB, free: 1.691 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.803e-05/0.2761, allocations: 13.47 kB / 0.5091 GB, free: 1.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003168/0.2764, allocations: 29.94 kB / 0.5091 GB, free: 1.664 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.068e-05/0.2765, allocations: 37.52 kB / 0.5092 GB, free: 1.645 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.282e-05/0.2766, allocations: 15.81 kB / 0.5092 GB, free: 1.641 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001961/0.2768, allocations: 198.7 kB / 0.5094 GB, free: 1.504 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2768, allocations: 0 / 0.5094 GB, free: 1.504 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005946/0.2773, allocations: 170.9 kB / 0.5095 GB, free: 1.477 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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002082/0.2794, allocations: 1.574 MB / 0.5111 GB, free: 148 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002072/0.2815, allocations: 1.037 MB / 0.5121 GB, free: 15.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.2815, allocations: 4 kB / 0.5121 GB, free: 15.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001348/0.2829, allocations: 0.7249 MB / 0.5128 GB, free: 14.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004215/0.2833, allocations: 48.86 kB / 0.5128 GB, free: 14.26 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008241/0.2915, allocations: 4.684 MB / 0.5174 GB, free: 9.477 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004827/0.292, allocations: 0.7974 MB / 0.5182 GB, free: 8.652 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001647/0.2922, allocations: 50.92 kB / 0.5182 GB, free: 8.605 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/0.2923, allocations: 115.4 kB / 0.5183 GB, free: 8.492 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2923, allocations: 4 kB / 0.5184 GB, free: 8.488 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04962/0.342, allocations: 14.54 MB / 0.5325 GB, free: 10.12 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.13, allocations: 3.938 kB / 0.5326 GB, free: 10.11 MB / 398.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesThreeLoads_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesThreeLoads.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.553712924942374] Failed to read output from testmodel.py, exit status != 0: 12.224729772657156 12.246578029 12.00119117 Calling exit ...