Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.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.OneSourceOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad",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.00113/0.00113, allocations: 103.5 kB / 16.31 MB, free: 6.359 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.001178/0.001178, allocations: 186.6 kB / 17.24 MB, free: 5.879 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.313/1.313, allocations: 222.9 MB / 240.9 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04603/0.04603, allocations: 8.093 MB / 299.2 MB, free: 6.723 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002554/0.002554, allocations: 67.91 kB / 361.8 MB, free: 8.027 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.242, allocations: 51.52 MB / 413.4 MB, free: 25.58 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoad): time 0.002095/0.2441, allocations: 1.22 MB / 414.6 MB, free: 24.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.2455, allocations: 1.485 MB / 416.1 MB, free: 22.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.008e-05/0.2456, allocations: 4 kB / 416.1 MB, free: 22.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002843/0.2459, allocations: 107.5 kB / 416.2 MB, free: 22.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001884/0.2461, allocations: 75.47 kB / 416.2 MB, free: 22.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.2473, allocations: 0.8907 MB / 417.1 MB, free: 21.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.2474, allocations: 155.2 kB / 417.3 MB, free: 21.63 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.2475, allocations: 57.52 kB / 417.3 MB, free: 21.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.981e-05/0.2476, allocations: 63.72 kB / 417.4 MB, free: 21.51 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.2477, allocations: 83.67 kB / 417.5 MB, free: 21.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.2478, allocations: 12 kB / 417.5 MB, free: 21.42 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002587/0.248, allocations: 203.8 kB / 417.7 MB, free: 21.22 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.497e-05/0.2481, allocations: 35.84 kB / 417.7 MB, free: 21.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.803e-05/0.2481, allocations: 71.61 kB / 417.8 MB, free: 21.11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002857/0.2484, allocations: 305.4 kB / 418.1 MB, free: 20.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2484, allocations: 8 kB / 418.1 MB, free: 20.81 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2484, allocations: 0 / 418.1 MB, free: 20.81 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.2485, allocations: 0 / 418.1 MB, free: 20.81 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001463/0.2499, allocations: 0.6279 MB / 418.7 MB, free: 20.12 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.25, allocations: 15.89 kB / 418.7 MB, free: 20.11 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.601e-05/0.25, allocations: 42.75 kB / 418.8 MB, free: 20.06 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.45e-05/0.2501, allocations: 20.73 kB / 418.8 MB, free: 20.04 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.2502, allocations: 220.5 kB / 419 MB, free: 19.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.2503, allocations: 16.61 kB / 419 MB, free: 19.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.2503, allocations: 12.38 kB / 419.1 MB, free: 19.76 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/0.2505, allocations: 181 kB / 419.2 MB, free: 19.58 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.2506, allocations: 0 / 419.2 MB, free: 19.58 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.2506, allocations: 4 kB / 419.2 MB, free: 19.57 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.2506, allocations: 4 kB / 419.2 MB, free: 19.57 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001807/0.2508, allocations: 160.5 kB / 419.4 MB, free: 19.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007488/0.2515, allocations: 0.6992 MB / 420.1 MB, free: 18.64 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004767/0.252, allocations: 210.4 kB / 420.3 MB, free: 18.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.2521, allocations: 96.84 kB / 420.4 MB, free: 18.33 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.857e-05/0.2522, allocations: 0 / 420.4 MB, free: 18.33 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.425e-05/0.2522, allocations: 38.55 kB / 420.4 MB, free: 18.28 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.212e-06/0.2522, allocations: 0 / 420.4 MB, free: 18.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001533/0.2537, allocations: 0.5734 MB / 421 MB, free: 17.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.756e-05/0.2538, allocations: 51.41 kB / 421.1 MB, free: 17.62 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.2539, allocations: 169.9 kB / 421.2 MB, free: 17.45 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.2539, allocations: 29.7 kB / 421.3 MB, free: 17.41 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.969e-05/0.254, allocations: 108.3 kB / 421.4 MB, free: 17.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.254, allocations: 63.17 kB / 421.4 MB, free: 17.24 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.465e-05/0.2541, allocations: 45.7 kB / 421.5 MB, free: 17.19 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.675e-05/0.2541, allocations: 326.8 kB / 421.8 MB, free: 16.86 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.2543, allocations: 87.97 kB / 421.9 MB, free: 16.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.2544, allocations: 103.8 kB / 422 MB, free: 16.67 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/0.2546, allocations: 214.4 kB / 422.2 MB, free: 16.46 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.2546, allocations: 0 / 422.2 MB, free: 16.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007036/0.2553, allocations: 392.7 kB / 422.6 MB, free: 16.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.2554, allocations: 7.938 kB / 422.6 MB, free: 16.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2554, allocations: 3.984 kB / 422.6 MB, free: 16.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006255/0.256, allocations: 136.7 kB / 422.7 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.2561, allocations: 27.97 kB / 422.7 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001872/0.258, allocations: 2.028 MB / 424.8 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.2582, allocations: 15.91 kB / 424.8 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.2582, allocations: 12 kB / 424.8 MB, free: 13.7 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 (18): * Single equations (assignments): 17 * 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 {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 8.734e-05/0.2583, allocations: 127.4 kB / 424.9 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.507e-05/0.2583, allocations: 15.81 kB / 424.9 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007324/0.2591, allocations: 369.6 kB / 425.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.2591, allocations: 0 / 425.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.2591, allocations: 0 / 425.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.2591, allocations: 0 / 425.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002119/0.2593, allocations: 309.2 kB / 425.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.2593, allocations: 3.938 kB / 425.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.584e-05/0.2594, allocations: 16 kB / 425.6 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005492/0.2599, allocations: 144.7 kB / 425.8 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.26, allocations: 4 kB / 425.8 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00159/0.2616, allocations: 2.012 MB / 427.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2616, allocations: 64 / 427.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006571/0.2622, allocations: 427.9 kB / 428.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.986e-05/0.2623, allocations: 96.89 kB / 428.3 MB, free: 9.957 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.2623, allocations: 0 / 428.3 MB, free: 9.957 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.2625, allocations: 15.98 kB / 428.3 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/0.2625, allocations: 15.98 kB / 428.3 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.2625, allocations: 4 kB / 428.3 MB, free: 9.922 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.962e-05/0.2626, allocations: 128.8 kB / 428.4 MB, free: 9.797 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2626, allocations: 0 / 428.4 MB, free: 9.797 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00034/0.263, allocations: 71.84 kB / 428.5 MB, free: 9.727 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 (13): * Single equations (assignments): 12 * 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 {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000905/0.2639, allocations: 0.9766 MB / 429.5 MB, free: 8.719 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006918/0.2646, allocations: 386.4 kB / 429.9 MB, free: 8.328 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2646, allocations: 0 / 429.9 MB, free: 8.328 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003955/0.265, allocations: 262.6 kB / 430.1 MB, free: 8.059 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.2653, allocations: 22.11 kB / 430.1 MB, free: 8.039 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002675/0.268, allocations: 2.375 MB / 432.5 MB, free: 5.578 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.2682, allocations: 0.7163 MB / 433.2 MB, free: 4.836 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.715e-05/0.2683, allocations: 29.53 kB / 433.3 MB, free: 4.805 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.199e-05/0.2683, allocations: 43.42 kB / 433.3 MB, free: 4.762 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2683, allocations: 0 / 433.3 MB, free: 4.762 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02379/0.2921, allocations: 5.873 MB / 439.2 MB, free: 14.98 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.19, allocations: 7.938 kB / 439.2 MB, free: 14.97 MB / 318.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe 2>&1)