Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) 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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 106.2 kB / 16.31 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 189.8 kB / 17.24 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.219/1.219, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04002/0.04002, allocations: 8.101 MB / 299.2 MB, free: 6.742 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 63.89 kB / 361.8 MB, free: 8.059 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2041, allocations: 51.51 MB / 413.3 MB, free: 25.6 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1): time 0.002953/0.2071, allocations: 2.689 MB / 416 MB, free: 22.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.2086, allocations: 1.633 MB / 417.7 MB, free: 21.26 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.2087, allocations: 8 kB / 417.7 MB, free: 21.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003266/0.2091, allocations: 171 kB / 417.8 MB, free: 21.08 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000361/0.2095, allocations: 218.5 kB / 418.1 MB, free: 20.87 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001971/0.2114, allocations: 1.225 MB / 419.3 MB, free: 19.64 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004408/0.2119, allocations: 457.8 kB / 419.7 MB, free: 19.19 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002052/0.2121, allocations: 168.1 kB / 419.9 MB, free: 19.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.2122, allocations: 187.3 kB / 420.1 MB, free: 18.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.2125, allocations: 231 kB / 420.3 MB, free: 18.61 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.759e-05/0.2125, allocations: 40 kB / 420.3 MB, free: 18.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000336/0.2129, allocations: 271.8 kB / 420.6 MB, free: 18.3 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.279e-05/0.2129, allocations: 95.61 kB / 420.7 MB, free: 18.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.2131, allocations: 218.9 kB / 420.9 MB, free: 18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004598/0.2135, allocations: 0.627 MB / 421.5 MB, free: 17.37 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.2135, allocations: 8 kB / 421.5 MB, free: 17.36 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.2135, allocations: 0 / 421.5 MB, free: 17.36 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.2136, allocations: 0 / 421.5 MB, free: 17.36 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.004638/0.2182, allocations: 1.404 MB / 423 MB, free: 15.9 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.2183, allocations: 11.89 kB / 423 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.824e-05/0.2183, allocations: 74.66 kB / 423 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.02e-05/0.2184, allocations: 44.47 kB / 423.1 MB, free: 15.76 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002991/0.2187, allocations: 343.4 kB / 423.4 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.2188, allocations: 29.03 kB / 423.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.536e-05/0.2188, allocations: 40.38 kB / 423.5 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006151/0.2195, allocations: 0.5062 MB / 424 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.2195, allocations: 7.938 kB / 424 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.099e-05/0.2195, allocations: 16 kB / 424 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.2195, allocations: 12 kB / 424 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005259/0.2201, allocations: 446.4 kB / 424.5 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002098/0.2222, allocations: 2.103 MB / 426.6 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007303/0.2229, allocations: 0.5854 MB / 427.1 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003104/0.2232, allocations: 276.8 kB / 427.4 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.445e-05/0.2233, allocations: 11.97 kB / 427.4 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.2233, allocations: 46.48 kB / 427.5 MB, free: 11.05 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.713e-06/0.2234, allocations: 0 / 427.5 MB, free: 11.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.006701/0.2301, allocations: 1.939 MB / 429.4 MB, free: 9.078 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.2301, allocations: 106.8 kB / 429.5 MB, free: 8.949 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.2304, allocations: 274.9 kB / 429.8 MB, free: 8.672 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.49e-05/0.2304, allocations: 41.7 kB / 429.8 MB, free: 8.625 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.719e-05/0.2305, allocations: 184.6 kB / 430 MB, free: 8.441 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.825e-05/0.2306, allocations: 145.8 kB / 430.2 MB, free: 8.297 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.2307, allocations: 102.2 kB / 430.3 MB, free: 8.191 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.975e-05/0.2308, allocations: 350.8 kB / 430.6 MB, free: 7.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003334/0.2312, allocations: 281 kB / 430.9 MB, free: 7.566 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003618/0.2315, allocations: 340.6 kB / 431.2 MB, free: 7.223 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007028/0.2322, allocations: 0.6178 MB / 431.8 MB, free: 6.602 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2322, allocations: 0 / 431.8 MB, free: 6.602 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002966/0.2352, allocations: 1.244 MB / 433.1 MB, free: 5.348 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.2353, allocations: 7.938 kB / 433.1 MB, free: 5.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.2353, allocations: 3.984 kB / 433.1 MB, free: 5.336 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003248/0.2385, allocations: 0.7773 MB / 433.9 MB, free: 4.559 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003243/0.2389, allocations: 87.89 kB / 433.9 MB, free: 4.473 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005937/0.2448, allocations: 4.017 MB / 438 MB, free: 332 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004322/0.2453, allocations: 47.53 kB / 438 MB, free: 284 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.099e-05/0.2453, allocations: 24.08 kB / 438 MB, free: 260 kB / 302.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 (51): * Single equations (assignments): 50 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001878/0.2455, allocations: 169.7 kB / 438.2 MB, free: 80 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.756e-05/0.2456, allocations: 31.62 kB / 438.2 MB, free: 48 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003224/0.2488, allocations: 1.175 MB / 439.4 MB, free: 14.85 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.2488, allocations: 4 kB / 439.4 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-06/0.2489, allocations: 0 / 439.4 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.2489, allocations: 11.98 kB / 439.4 MB, free: 14.83 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003944/0.2528, allocations: 1.755 MB / 441.2 MB, free: 13.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.2528, allocations: 3.938 kB / 441.2 MB, free: 13.01 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003127/0.2532, allocations: 59.92 kB / 441.2 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003416/0.2566, allocations: 0.7533 MB / 442 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.267e-05/0.2566, allocations: 8 kB / 442 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006759/0.2634, allocations: 3.968 MB / 446 MB, free: 8.09 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.2634, allocations: 0 / 446 MB, free: 8.09 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003228/0.2667, allocations: 1.191 MB / 447.1 MB, free: 6.879 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.2668, allocations: 116.5 kB / 447.3 MB, free: 6.746 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.42e-05/0.2669, allocations: 12 kB / 447.3 MB, free: 6.734 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003706/0.2673, allocations: 27.98 kB / 447.3 MB, free: 6.707 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.2674, allocations: 36.39 kB / 447.3 MB, free: 6.672 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.71e-05/0.2675, allocations: 15.94 kB / 447.4 MB, free: 6.656 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001926/0.2677, allocations: 190 kB / 447.5 MB, free: 6.473 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2677, allocations: 0 / 447.5 MB, free: 6.473 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000606/0.2683, allocations: 191.8 kB / 447.7 MB, free: 6.285 MB / 318.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 (35): * 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: 1 * 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): 1 system {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003517/0.2718, allocations: 1.759 MB / 449.5 MB, free: 4.496 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00251/0.2743, allocations: 1.031 MB / 450.5 MB, free: 3.449 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2743, allocations: 0 / 450.5 MB, free: 3.449 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001695/0.276, allocations: 0.6687 MB / 451.2 MB, free: 2.766 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003954/0.2764, allocations: 34.77 kB / 451.2 MB, free: 2.734 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00952/0.286, allocations: 5.157 MB / 456.4 MB, free: 13.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.2864, allocations: 0.8089 MB / 457.2 MB, free: 12.65 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002013/0.2866, allocations: 58.91 kB / 457.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/0.2868, allocations: 131.4 kB / 457.4 MB, free: 12.46 MB / 334.1 MB Notification: Performance of SimCode: time 8.11e-07/0.2868, allocations: 0 / 457.4 MB, free: 12.46 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5038/0.7907, allocations: 14.78 MB / 472.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/13.94, allocations: 11.16 kB / 472.2 MB, free: 13.89 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe 2>&1)