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.0009478/0.0009478, allocations: 105.9 kB / 16.03 MB, free: 6.258 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.001005/0.001005, allocations: 195.8 kB / 16.95 MB, free: 6.105 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.321/1.321, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04222/0.04222, allocations: 8.094 MB / 298.9 MB, free: 6.691 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 63.91 kB / 361.3 MB, free: 8.199 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1869, allocations: 51.51 MB / 412.8 MB, free: 25.76 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank): time 0.001912/0.1888, allocations: 1.452 MB / 414.3 MB, free: 24.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.19, allocations: 1.489 MB / 415.8 MB, free: 22.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.997e-05/0.1901, allocations: 4 kB / 415.8 MB, free: 22.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002724/0.1904, allocations: 99.59 kB / 415.9 MB, free: 22.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001849/0.1906, allocations: 91.52 kB / 416 MB, free: 22.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.1916, allocations: 0.8444 MB / 416.8 MB, free: 21.76 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.1918, allocations: 191.1 kB / 417 MB, free: 21.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.192, allocations: 57.66 kB / 417.1 MB, free: 21.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.508e-05/0.192, allocations: 79.7 kB / 417.1 MB, free: 21.44 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.1921, allocations: 103.5 kB / 417.2 MB, free: 21.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.1922, allocations: 16 kB / 417.2 MB, free: 21.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002299/0.1924, allocations: 199.8 kB / 417.4 MB, free: 21.12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.383e-05/0.1924, allocations: 47.77 kB / 417.5 MB, free: 21.08 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.403e-05/0.1925, allocations: 91.55 kB / 417.6 MB, free: 20.99 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002765/0.1928, allocations: 345.3 kB / 417.9 MB, free: 20.65 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.1928, allocations: 3.938 kB / 417.9 MB, free: 20.65 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1928, allocations: 0 / 417.9 MB, free: 20.65 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1928, allocations: 0 / 417.9 MB, free: 20.65 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001432/0.1942, allocations: 0.6785 MB / 418.6 MB, free: 19.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.1943, allocations: 11.89 kB / 418.6 MB, free: 19.9 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.647e-05/0.1943, allocations: 46.73 kB / 418.7 MB, free: 19.85 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.579e-05/0.1944, allocations: 24.66 kB / 418.7 MB, free: 19.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.1946, allocations: 236 kB / 418.9 MB, free: 19.55 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.1946, allocations: 16.66 kB / 418.9 MB, free: 19.54 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.1946, allocations: 12.38 kB / 418.9 MB, free: 19.53 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002656/0.1949, allocations: 216.3 kB / 419.1 MB, free: 19.31 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.1949, allocations: 3.938 kB / 419.2 MB, free: 19.31 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/0.1949, allocations: 4 kB / 419.2 MB, free: 19.3 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.1949, allocations: 4 kB / 419.2 MB, free: 19.3 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002215/0.1952, allocations: 200.7 kB / 419.4 MB, free: 19.11 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008101/0.196, allocations: 0.8539 MB / 420.2 MB, free: 18.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005495/0.1965, allocations: 383.4 kB / 420.6 MB, free: 17.76 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/0.1967, allocations: 136.8 kB / 420.7 MB, free: 17.62 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.305e-05/0.1967, allocations: 4 kB / 420.7 MB, free: 17.62 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.344e-05/0.1967, allocations: 38.55 kB / 420.8 MB, free: 17.57 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.192e-06/0.1968, allocations: 0 / 420.8 MB, free: 17.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.001737/0.1985, allocations: 0.7214 MB / 421.5 MB, free: 16.83 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.821e-05/0.1985, allocations: 55.39 kB / 421.5 MB, free: 16.76 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.1987, allocations: 183.4 kB / 421.7 MB, free: 16.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.1987, allocations: 33.7 kB / 421.7 MB, free: 16.54 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.269e-05/0.1987, allocations: 124.3 kB / 421.9 MB, free: 16.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.548e-05/0.1988, allocations: 78.8 kB / 421.9 MB, free: 16.33 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.249e-05/0.1988, allocations: 57.69 kB / 422 MB, free: 16.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.277e-05/0.1989, allocations: 330.8 kB / 422.3 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.199, allocations: 123.9 kB / 422.4 MB, free: 15.82 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.1992, allocations: 124.4 kB / 422.6 MB, free: 15.7 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002767/0.1995, allocations: 277.3 kB / 422.8 MB, free: 15.42 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1995, allocations: 0 / 422.8 MB, free: 15.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007853/0.2003, allocations: 485.9 kB / 423.3 MB, free: 14.94 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.2003, allocations: 14.44 kB / 423.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.2003, allocations: 0 / 423.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006635/0.201, allocations: 180.6 kB / 423.5 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.2011, allocations: 39.91 kB / 423.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1388/0.3399, allocations: 2.351 MB / 425.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002711/0.3402, allocations: 23.81 kB / 425.9 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/0.3402, allocations: 11.94 kB / 425.9 MB, free: 12.18 MB / 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 (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.0001187/0.3403, allocations: 129.8 kB / 426.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.568e-05/0.3404, allocations: 15.81 kB / 426.1 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008331/0.3412, allocations: 469.2 kB / 426.5 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.3412, allocations: 4.281 kB / 426.5 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.3412, allocations: 0 / 426.5 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3413, allocations: 3.984 kB / 426.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.3423, allocations: 0.8618 MB / 427.4 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3423, allocations: 4 kB / 427.4 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.462e-05/0.3424, allocations: 27.92 kB / 427.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005703/0.343, allocations: 176.6 kB / 427.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.343, allocations: 4 kB / 427.6 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001878/0.3449, allocations: 2.332 MB / 429.9 MB, free: 7.949 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3449, allocations: 4 kB / 429.9 MB, free: 7.945 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007354/0.3456, allocations: 0.5153 MB / 430.5 MB, free: 7.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.868e-05/0.3457, allocations: 96.84 kB / 430.6 MB, free: 7.297 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.3457, allocations: 8 kB / 430.6 MB, free: 7.289 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.3459, allocations: 8 kB / 430.6 MB, free: 7.281 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/0.3459, allocations: 23.91 kB / 430.6 MB, free: 7.258 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.3459, allocations: 8.281 kB / 430.6 MB, free: 7.25 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.133e-05/0.346, allocations: 140.2 kB / 430.7 MB, free: 7.113 MB / 302.1 MB Notification: Performance of sort global known variables: time 7.71e-07/0.346, allocations: 0 / 430.7 MB, free: 7.113 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003334/0.3464, allocations: 91.78 kB / 430.8 MB, free: 7.023 MB / 302.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.0009071/0.3473, allocations: 1.069 MB / 431.9 MB, free: 5.926 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007565/0.3481, allocations: 0.4985 MB / 432.4 MB, free: 5.414 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3481, allocations: 0 / 432.4 MB, free: 5.414 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004752/0.3485, allocations: 346.4 kB / 432.7 MB, free: 5.062 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.3488, allocations: 30.67 kB / 432.8 MB, free: 5.035 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002757/0.3516, allocations: 2.764 MB / 435.5 MB, free: 2.18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.3517, allocations: 0.7289 MB / 436.3 MB, free: 1.422 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.411e-05/0.3518, allocations: 33.61 kB / 436.3 MB, free: 1.391 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.177e-05/0.3519, allocations: 51.42 kB / 436.3 MB, free: 1.34 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3519, allocations: 0 / 436.3 MB, free: 1.34 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5804/0.9323, allocations: 6.812 MB / 443.1 MB, free: 10.69 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002192/0.9326, allocations: 225 kB / 443.4 MB, free: 10.44 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.762/2.694, allocations: 0 / 443.4 MB, free: 10.44 MB / 318.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)