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.001123/0.001123, allocations: 100 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.001094/0.001094, allocations: 191 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.349/1.349, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04852/0.04852, allocations: 8.088 MB / 299.2 MB, free: 6.734 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001723, allocations: 67.89 kB / 361.8 MB, free: 8.039 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2395, allocations: 51.52 MB / 413.4 MB, free: 25.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank): time 0.002817/0.2424, allocations: 1.389 MB / 414.7 MB, free: 24.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.2441, allocations: 1.504 MB / 416.2 MB, free: 22.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.531e-05/0.2442, allocations: 4 kB / 416.3 MB, free: 22.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003492/0.2445, allocations: 115.4 kB / 416.4 MB, free: 22.54 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000248/0.2448, allocations: 95.39 kB / 416.5 MB, free: 22.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.2461, allocations: 0.9023 MB / 417.4 MB, free: 21.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002397/0.2464, allocations: 183.1 kB / 417.5 MB, free: 21.36 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.2465, allocations: 61.64 kB / 417.6 MB, free: 21.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.105e-05/0.2466, allocations: 87.64 kB / 417.7 MB, free: 21.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.2468, allocations: 99.59 kB / 417.8 MB, free: 21.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.08e-05/0.2468, allocations: 16 kB / 417.8 MB, free: 21.1 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003511/0.2472, allocations: 207.8 kB / 418 MB, free: 20.9 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.854e-05/0.2472, allocations: 39.84 kB / 418 MB, free: 20.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.642e-05/0.2473, allocations: 95.47 kB / 418.1 MB, free: 20.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004139/0.2477, allocations: 337.4 kB / 418.5 MB, free: 20.44 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.2478, allocations: 0 / 418.5 MB, free: 20.44 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2478, allocations: 0 / 418.5 MB, free: 20.44 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.2478, allocations: 0 / 418.5 MB, free: 20.44 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.001799/0.2496, allocations: 0.6785 MB / 419.1 MB, free: 19.7 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.2496, allocations: 11.89 kB / 419.2 MB, free: 19.69 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.305e-05/0.2497, allocations: 50.67 kB / 419.2 MB, free: 19.63 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.789e-05/0.2498, allocations: 32.59 kB / 419.2 MB, free: 19.6 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.2501, allocations: 232 kB / 419.5 MB, free: 19.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.2501, allocations: 12.66 kB / 419.5 MB, free: 19.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.022e-05/0.2501, allocations: 12.38 kB / 419.5 MB, free: 19.31 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003362/0.2505, allocations: 216.3 kB / 419.7 MB, free: 19.1 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.2505, allocations: 3.938 kB / 419.7 MB, free: 19.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.78e-05/0.2505, allocations: 4 kB / 419.7 MB, free: 19.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.2506, allocations: 4 kB / 419.7 MB, free: 19.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003309/0.2509, allocations: 200.8 kB / 419.9 MB, free: 18.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.252, allocations: 0.85 MB / 420.8 MB, free: 17.95 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006303/0.2526, allocations: 381 kB / 421.1 MB, free: 17.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001588/0.2528, allocations: 136.8 kB / 421.3 MB, free: 17.42 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.561e-05/0.2529, allocations: 11.97 kB / 421.3 MB, free: 17.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.2529, allocations: 34.56 kB / 421.3 MB, free: 17.36 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 3.687e-06/0.2529, allocations: 3.984 kB / 421.3 MB, free: 17.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.001916/0.2548, allocations: 0.7292 MB / 422 MB, free: 16.61 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.381e-05/0.2549, allocations: 55.41 kB / 422.1 MB, free: 16.54 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.255, allocations: 182.4 kB / 422.3 MB, free: 16.35 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.2551, allocations: 33.7 kB / 422.3 MB, free: 16.31 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.004e-05/0.2551, allocations: 116.3 kB / 422.4 MB, free: 16.2 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.316e-05/0.2552, allocations: 82.84 kB / 422.5 MB, free: 16.11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.767e-05/0.2552, allocations: 49.7 kB / 422.5 MB, free: 16.06 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.406e-05/0.2553, allocations: 334.8 kB / 422.9 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.2555, allocations: 123.9 kB / 423 MB, free: 15.6 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.2556, allocations: 127.9 kB / 423.1 MB, free: 15.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003236/0.256, allocations: 268.8 kB / 423.4 MB, free: 15.21 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.256, allocations: 0 / 423.4 MB, free: 15.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008632/0.2569, allocations: 490.5 kB / 423.9 MB, free: 14.72 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.2569, allocations: 7.938 kB / 423.9 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.2569, allocations: 0 / 423.9 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007653/0.2577, allocations: 184.6 kB / 424 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.2578, allocations: 35.98 kB / 424.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002563/0.2604, allocations: 2.361 MB / 426.4 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.2606, allocations: 19.78 kB / 426.5 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.2606, allocations: 11.94 kB / 426.5 MB, free: 11.96 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.0001239/0.2607, allocations: 133.8 kB / 426.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.107e-05/0.2608, allocations: 15.81 kB / 426.6 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008907/0.2617, allocations: 469.4 kB / 427.1 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.2617, allocations: 4 kB / 427.1 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.686e-06/0.2617, allocations: 3.984 kB / 427.1 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.2617, allocations: 0 / 427.1 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.2629, allocations: 0.8541 MB / 427.9 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.2629, allocations: 0 / 427.9 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.075e-05/0.263, allocations: 35.86 kB / 428 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006414/0.2636, allocations: 176.9 kB / 428.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.2636, allocations: 3.984 kB / 428.2 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002198/0.2659, allocations: 2.336 MB / 430.5 MB, free: 7.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2659, allocations: 0 / 430.5 MB, free: 7.73 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008184/0.2667, allocations: 0.5192 MB / 431 MB, free: 7.191 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.412e-05/0.2667, allocations: 96.86 kB / 431.1 MB, free: 7.078 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/0.2668, allocations: 4 kB / 431.1 MB, free: 7.074 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.267, allocations: 11.92 kB / 431.1 MB, free: 7.062 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.138e-05/0.267, allocations: 19.92 kB / 431.1 MB, free: 7.043 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.2671, allocations: 19.92 kB / 431.2 MB, free: 7.023 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001269/0.2672, allocations: 128.8 kB / 431.3 MB, free: 6.898 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2672, allocations: 4 kB / 431.3 MB, free: 6.895 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000431/0.2676, allocations: 83.91 kB / 431.4 MB, free: 6.812 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.001081/0.2687, allocations: 1.077 MB / 432.4 MB, free: 5.707 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008795/0.2696, allocations: 0.4907 MB / 432.9 MB, free: 5.203 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2696, allocations: 0 / 432.9 MB, free: 5.203 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005245/0.2702, allocations: 350.3 kB / 433.3 MB, free: 4.848 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.2705, allocations: 31.86 kB / 433.3 MB, free: 4.816 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003073/0.2736, allocations: 2.707 MB / 436 MB, free: 2.016 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000147/0.2737, allocations: 0.7289 MB / 436.7 MB, free: 1.262 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.125e-05/0.2738, allocations: 25.53 kB / 436.8 MB, free: 1.238 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.061e-05/0.2739, allocations: 51.42 kB / 436.8 MB, free: 1.188 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2739, allocations: 0 / 436.8 MB, free: 1.188 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0351/0.309, allocations: 6.899 MB / 443.7 MB, free: 10.41 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.74, allocations: 11.33 kB / 443.7 MB, free: 10.4 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)