Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3",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.004425/0.004425, allocations: 90.06 kB / 15.91 MB, free: 6.305 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.001073/0.001073, allocations: 196.3 kB / 16.83 MB, free: 6.238 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.274/1.274, allocations: 222.9 MB / 240.5 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1401/0.1401, allocations: 8.083 MB / 298.7 MB, free: 2.055 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 63.91 kB / 361.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07718/0.07828, allocations: 51.51 MB / 412.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3): time 0.003555/0.08187, allocations: 2.932 MB / 415.6 MB, free: 7.148 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.08381, allocations: 1.648 MB / 417.2 MB, free: 5.484 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001526/0.08398, allocations: 8 kB / 417.2 MB, free: 5.477 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003766/0.08437, allocations: 159.3 kB / 417.4 MB, free: 5.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004089/0.08479, allocations: 206.8 kB / 417.6 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001827/0.08663, allocations: 1.203 MB / 418.8 MB, free: 3.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004256/0.08706, allocations: 489.6 kB / 419.3 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002506/0.08732, allocations: 189.4 kB / 419.5 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.08749, allocations: 195.3 kB / 419.7 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002461/0.08774, allocations: 242.9 kB / 419.9 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.775e-05/0.08781, allocations: 40 kB / 419.9 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000383/0.0882, allocations: 267.7 kB / 420.2 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.931e-05/0.08827, allocations: 87.62 kB / 420.3 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001833/0.08846, allocations: 246.7 kB / 420.5 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005778/0.08905, allocations: 0.666 MB / 421.2 MB, free: 1.516 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.08906, allocations: 0 / 421.2 MB, free: 1.516 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.08906, allocations: 0 / 421.2 MB, free: 1.516 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.08908, allocations: 0 / 421.2 MB, free: 1.516 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.004673/0.09375, allocations: 1.447 MB / 422.6 MB, free: 16 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.0938, allocations: 8.031 kB / 422.6 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001031/0.09391, allocations: 78.72 kB / 422.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.09402, allocations: 56.28 kB / 422.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003677/0.09439, allocations: 343.5 kB / 423.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.09443, allocations: 37.38 kB / 423.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.605e-05/0.0945, allocations: 44.38 kB / 423.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000806/0.09531, allocations: 0.5659 MB / 423.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.09533, allocations: 3.938 kB / 423.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.868e-05/0.09539, allocations: 20 kB / 423.8 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.0954, allocations: 8 kB / 423.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006615/0.09607, allocations: 475.8 kB / 424.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00254/0.09861, allocations: 2.206 MB / 426.5 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008357/0.09946, allocations: 0.649 MB / 427.1 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003352/0.09981, allocations: 260.8 kB / 427.4 MB, free: 10.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.934e-05/0.09988, allocations: 8 kB / 427.4 MB, free: 10.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.09991, allocations: 42.5 kB / 427.4 MB, free: 10.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.463e-06/0.09992, allocations: 3.938 kB / 427.4 MB, free: 10.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.006539/0.1065, allocations: 1.83 MB / 429.2 MB, free: 9.031 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.1065, allocations: 106.8 kB / 429.3 MB, free: 8.902 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002435/0.1068, allocations: 278.8 kB / 429.6 MB, free: 8.621 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.633e-05/0.1068, allocations: 41.69 kB / 429.7 MB, free: 8.574 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.1069, allocations: 201 kB / 429.9 MB, free: 8.371 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.754e-05/0.107, allocations: 145.8 kB / 430 MB, free: 8.227 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001761/0.1072, allocations: 102.2 kB / 430.1 MB, free: 8.121 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.043e-05/0.1073, allocations: 350.8 kB / 430.4 MB, free: 7.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003759/0.1077, allocations: 269 kB / 430.7 MB, free: 7.504 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004169/0.1081, allocations: 324.7 kB / 431 MB, free: 7.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008182/0.109, allocations: 0.6099 MB / 431.6 MB, free: 6.566 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.109, allocations: 0 / 431.6 MB, free: 6.566 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003212/0.1122, allocations: 1.205 MB / 432.8 MB, free: 5.348 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.1122, allocations: 7.984 kB / 432.8 MB, free: 5.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.1122, allocations: 0 / 432.8 MB, free: 5.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003551/0.1158, allocations: 0.7673 MB / 433.6 MB, free: 4.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003168/0.1161, allocations: 83.89 kB / 433.7 MB, free: 4.488 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006307/0.1224, allocations: 3.577 MB / 437.3 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003767/0.1228, allocations: 51.44 kB / 437.3 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.673e-05/0.1229, allocations: 19.98 kB / 437.3 MB, free: 0.7188 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 (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.0001968/0.1231, allocations: 165.7 kB / 437.5 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.393e-05/0.1232, allocations: 39.62 kB / 437.5 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1382/0.2614, allocations: 1.165 MB / 438.7 MB, free: 56.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.2614, allocations: 2.562 kB / 438.7 MB, free: 56.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.2614, allocations: 0.6875 kB / 438.7 MB, free: 56.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.2614, allocations: 2.953 kB / 438.7 MB, free: 56.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003342/0.2648, allocations: 1.751 MB / 440.5 MB, free: 55.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.2648, allocations: 0 / 440.5 MB, free: 55.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.265, allocations: 61.81 kB / 440.5 MB, free: 55.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003082/0.2681, allocations: 0.7353 MB / 441.3 MB, free: 55.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.388e-05/0.2681, allocations: 9.531 kB / 441.3 MB, free: 55.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004949/0.2731, allocations: 3.518 MB / 444.8 MB, free: 54.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2731, allocations: 0 / 444.8 MB, free: 54.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002722/0.2758, allocations: 1.183 MB / 446 MB, free: 54.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.366e-05/0.2759, allocations: 117.6 kB / 446.1 MB, free: 53.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.487e-05/0.276, allocations: 9.266 kB / 446.1 MB, free: 53.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003314/0.2763, allocations: 28.23 kB / 446.1 MB, free: 53.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.2764, allocations: 43.39 kB / 446.2 MB, free: 53.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.423e-05/0.2764, allocations: 14.41 kB / 446.2 MB, free: 53.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001367/0.2766, allocations: 190.8 kB / 446.4 MB, free: 53.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2766, allocations: 0 / 446.4 MB, free: 53.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000519/0.2771, allocations: 201.5 kB / 446.6 MB, free: 53.77 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 (34): * Single equations (assignments): 33 * 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.002868/0.28, allocations: 1.742 MB / 448.3 MB, free: 52.74 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001847/0.2818, allocations: 0.9765 MB / 449.3 MB, free: 52.31 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2819, allocations: 0 / 449.3 MB, free: 52.31 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001364/0.2832, allocations: 0.6372 MB / 449.9 MB, free: 52.01 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.2836, allocations: 37.66 kB / 449.9 MB, free: 51.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007818/0.2914, allocations: 5.259 MB / 455.2 MB, free: 49.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001585/0.2916, allocations: 0.8277 MB / 456 MB, free: 48.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001576/0.2917, allocations: 51.25 kB / 456.1 MB, free: 48.4 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.2919, allocations: 140.4 kB / 456.2 MB, free: 48.3 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2919, allocations: 3.094 kB / 456.2 MB, free: 48.3 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.67/0.9619, allocations: 13.81 MB / 470 MB, free: 47.27 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001798/0.9621, allocations: 275.2 kB / 470.3 MB, free: 46.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.819/2.781, allocations: 0 / 470.3 MB, free: 46.91 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.pipe 2>&1)