Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.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.OneSourceOneLineOneLoadOneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank",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.004527/0.004527, allocations: 89 kB / 15.91 MB, free: 6.312 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.00103/0.00103, allocations: 197.2 kB / 16.83 MB, free: 6.242 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.262/1.262, allocations: 222.9 MB / 240.5 MB, free: 4.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1392/0.1392, allocations: 8.083 MB / 298.7 MB, free: 2.074 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 59.91 kB / 361.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08228/0.08349, allocations: 51.52 MB / 412.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank): time 0.002374/0.08589, allocations: 1.435 MB / 414.1 MB, free: 8.648 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0017/0.08761, allocations: 1.508 MB / 415.6 MB, free: 7.125 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.856e-05/0.08769, allocations: 0 / 415.6 MB, free: 7.125 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003149/0.08802, allocations: 103.6 kB / 415.7 MB, free: 7.023 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002185/0.08825, allocations: 79.58 kB / 415.8 MB, free: 6.945 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.08965, allocations: 0.8873 MB / 416.7 MB, free: 6.055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002247/0.08988, allocations: 183.1 kB / 416.8 MB, free: 5.875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.09, allocations: 53.62 kB / 416.9 MB, free: 5.824 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.675e-05/0.09009, allocations: 75.64 kB / 417 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/0.09023, allocations: 99.59 kB / 417.1 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.803e-05/0.09027, allocations: 12 kB / 417.1 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003183/0.09059, allocations: 199.8 kB / 417.3 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.246e-05/0.09063, allocations: 35.84 kB / 417.3 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.936e-05/0.09072, allocations: 91.47 kB / 417.4 MB, free: 5.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003804/0.0911, allocations: 339.4 kB / 417.7 MB, free: 4.988 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.09112, allocations: 0 / 417.7 MB, free: 4.988 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.09112, allocations: 0 / 417.7 MB, free: 4.988 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.09113, allocations: 4 kB / 417.7 MB, free: 4.984 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001625/0.09276, allocations: 0.6745 MB / 418.4 MB, free: 4.254 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.0928, allocations: 8.031 kB / 418.4 MB, free: 4.246 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.684e-05/0.09285, allocations: 54.73 kB / 418.5 MB, free: 4.184 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.032e-05/0.0929, allocations: 20.66 kB / 418.5 MB, free: 4.164 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.09313, allocations: 224.1 kB / 418.7 MB, free: 3.906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.09316, allocations: 20.66 kB / 418.7 MB, free: 3.887 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.09319, allocations: 16.38 kB / 418.7 MB, free: 3.871 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003167/0.09351, allocations: 212.3 kB / 419 MB, free: 3.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.09353, allocations: 3.938 kB / 419 MB, free: 3.656 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.09355, allocations: 4 kB / 419 MB, free: 3.652 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.09356, allocations: 7.984 kB / 419 MB, free: 3.645 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002819/0.09385, allocations: 204.8 kB / 419.2 MB, free: 3.445 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.09488, allocations: 0.8422 MB / 420 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006493/0.09554, allocations: 384.7 kB / 420.4 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001851/0.09574, allocations: 133.8 kB / 420.5 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.952e-05/0.09578, allocations: 11.92 kB / 420.5 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.09581, allocations: 38.56 kB / 420.6 MB, free: 1.922 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.202e-06/0.09582, allocations: 0 / 420.6 MB, free: 1.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001941/0.09776, allocations: 0.7208 MB / 421.3 MB, free: 1.176 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.0978, allocations: 59.34 kB / 421.3 MB, free: 1.105 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.09797, allocations: 194.3 kB / 421.5 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.098, allocations: 29.64 kB / 421.6 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.797e-05/0.09808, allocations: 124.3 kB / 421.7 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.802e-05/0.09813, allocations: 74.89 kB / 421.8 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.88e-05/0.09823, allocations: 53.7 kB / 421.8 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.449e-05/0.09833, allocations: 334.8 kB / 422.1 MB, free: 284 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.0985, allocations: 116 kB / 422.3 MB, free: 168 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.09867, allocations: 120.5 kB / 422.4 MB, free: 48 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003691/0.09905, allocations: 285.4 kB / 422.7 MB, free: 15.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.09906, allocations: 0 / 422.7 MB, free: 15.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009247/0.09998, allocations: 481.9 kB / 423.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.1, allocations: 10.12 kB / 423.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.1, allocations: 0 / 423.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007323/0.1008, allocations: 180.6 kB / 423.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.1009, allocations: 39.97 kB / 423.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002555/0.1035, allocations: 2.18 MB / 425.5 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.1036, allocations: 23.75 kB / 425.5 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.1037, allocations: 8 kB / 425.6 MB, free: 12.71 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 (23): * Single equations (assignments): 22 * 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 {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001109/0.1038, allocations: 137.7 kB / 425.7 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.715e-05/0.1038, allocations: 15.81 kB / 425.7 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009532/0.1048, allocations: 475.8 kB / 426.2 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1048, allocations: 4 kB / 426.2 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.1048, allocations: 0 / 426.2 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.1048, allocations: 0 / 426.2 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/0.106, allocations: 0.8461 MB / 427 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1061, allocations: 4 kB / 427 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.431e-05/0.1061, allocations: 31.92 kB / 427.1 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006593/0.1068, allocations: 172.7 kB / 427.2 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.1068, allocations: 4 kB / 427.2 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003541/0.1104, allocations: 2.156 MB / 429.4 MB, free: 8.664 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.1104, allocations: 4 kB / 429.4 MB, free: 8.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/0.1119, allocations: 0.5274 MB / 429.9 MB, free: 8.113 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.97e-05/0.112, allocations: 92.86 kB / 430 MB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.407e-05/0.112, allocations: 8 kB / 430 MB, free: 7.996 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002705/0.1123, allocations: 11.98 kB / 430 MB, free: 7.984 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.142e-05/0.1124, allocations: 19.91 kB / 430 MB, free: 7.965 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.744e-05/0.1124, allocations: 12 kB / 430.1 MB, free: 7.953 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001606/0.1126, allocations: 139.2 kB / 430.2 MB, free: 7.816 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1126, allocations: 0 / 430.2 MB, free: 7.816 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003635/0.113, allocations: 80 kB / 430.3 MB, free: 7.738 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 (16): * Single equations (assignments): 15 * 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 {(3,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001158/0.1141, allocations: 1.076 MB / 431.3 MB, free: 6.633 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000855/0.115, allocations: 490.3 kB / 431.8 MB, free: 6.141 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.115, allocations: 0 / 431.8 MB, free: 6.141 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005637/0.1156, allocations: 342.4 kB / 432.2 MB, free: 5.793 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.1159, allocations: 16 kB / 432.2 MB, free: 5.777 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003516/0.1194, allocations: 2.796 MB / 435 MB, free: 2.887 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.1197, allocations: 0.7327 MB / 435.7 MB, free: 2.125 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.885e-05/0.1197, allocations: 21.53 kB / 435.7 MB, free: 2.105 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.407e-05/0.1198, allocations: 55.41 kB / 435.8 MB, free: 2.051 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1198, allocations: 192 / 435.8 MB, free: 2.051 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6934/0.8132, allocations: 6.494 MB / 442.3 MB, free: 56.4 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002209/0.8135, allocations: 228.8 kB / 442.5 MB, free: 56.15 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.701/2.514, allocations: 3.938 kB / 442.5 MB, free: 56.15 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe 2>&1)