Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.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.OneSourceOneTransfoOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad",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.001133/0.001133, allocations: 105.4 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.001135/0.001134, allocations: 191.2 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.44/1.44, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05066/0.05066, allocations: 8.096 MB / 299.2 MB, free: 6.719 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 63.91 kB / 361.8 MB, free: 8.035 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2201, allocations: 51.51 MB / 413.3 MB, free: 25.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLoad): time 0.00249/0.2227, allocations: 1.26 MB / 414.6 MB, free: 24.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001796/0.2245, allocations: 1.485 MB / 416.1 MB, free: 22.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.2246, allocations: 4 kB / 416.1 MB, free: 22.81 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003422/0.225, allocations: 103.5 kB / 416.2 MB, free: 22.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002664/0.2253, allocations: 103.4 kB / 416.3 MB, free: 22.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00134/0.2267, allocations: 1.003 MB / 417.3 MB, free: 21.6 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002066/0.2269, allocations: 163.2 kB / 417.5 MB, free: 21.44 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.227, allocations: 57.52 kB / 417.5 MB, free: 21.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.468e-05/0.2271, allocations: 59.8 kB / 417.6 MB, free: 21.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.2272, allocations: 87.61 kB / 417.7 MB, free: 21.24 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.2272, allocations: 12 kB / 417.7 MB, free: 21.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003159/0.2276, allocations: 223.8 kB / 417.9 MB, free: 21.01 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.899e-05/0.2276, allocations: 39.78 kB / 417.9 MB, free: 20.97 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.837e-05/0.2277, allocations: 67.67 kB / 418 MB, free: 20.9 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003383/0.228, allocations: 341.3 kB / 418.3 MB, free: 20.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.228, allocations: 0 / 418.3 MB, free: 20.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.228, allocations: 4 kB / 418.3 MB, free: 20.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.2281, allocations: 0 / 418.3 MB, free: 20.57 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.00207/0.2301, allocations: 0.7214 MB / 419.1 MB, free: 19.79 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.2302, allocations: 15.89 kB / 419.1 MB, free: 19.77 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.2302, allocations: 46.73 kB / 419.1 MB, free: 19.72 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.145e-05/0.2303, allocations: 16.75 kB / 419.1 MB, free: 19.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.2305, allocations: 228.7 kB / 419.4 MB, free: 19.44 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.2305, allocations: 8.609 kB / 419.4 MB, free: 19.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.2306, allocations: 12.38 kB / 419.4 MB, free: 19.42 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002941/0.2309, allocations: 207.6 kB / 419.6 MB, free: 19.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.2309, allocations: 3.938 kB / 419.6 MB, free: 19.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.2309, allocations: 4 kB / 419.6 MB, free: 19.2 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.2309, allocations: 8 kB / 419.6 MB, free: 19.2 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002024/0.2311, allocations: 156.6 kB / 419.7 MB, free: 19.04 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009508/0.2321, allocations: 0.73 MB / 420.5 MB, free: 18.24 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004312/0.2325, allocations: 207.3 kB / 420.7 MB, free: 18.03 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.2326, allocations: 92.78 kB / 420.8 MB, free: 17.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.813e-05/0.2327, allocations: 4 kB / 420.8 MB, free: 17.93 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.606e-05/0.2327, allocations: 34.56 kB / 420.8 MB, free: 17.89 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.2327, allocations: 4 kB / 420.8 MB, free: 17.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001858/0.2346, allocations: 0.5806 MB / 421.4 MB, free: 17.28 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.2346, allocations: 89.05 kB / 421.5 MB, free: 17.17 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.2348, allocations: 178.5 kB / 421.7 MB, free: 16.98 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.2348, allocations: 25.7 kB / 421.7 MB, free: 16.95 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.441e-05/0.2349, allocations: 120.4 kB / 421.8 MB, free: 16.83 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.2349, allocations: 67.06 kB / 421.9 MB, free: 16.77 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.286e-05/0.235, allocations: 45.7 kB / 421.9 MB, free: 16.71 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.718e-05/0.2351, allocations: 326.8 kB / 422.2 MB, free: 16.39 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.2352, allocations: 108 kB / 422.3 MB, free: 16.28 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.2354, allocations: 122.3 kB / 422.4 MB, free: 16.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002667/0.2357, allocations: 238 kB / 422.7 MB, free: 15.92 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2357, allocations: 0 / 422.7 MB, free: 15.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009622/0.2367, allocations: 426 kB / 423.1 MB, free: 15.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.2367, allocations: 4 kB / 423.1 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.2367, allocations: 4 kB / 423.1 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001/0.2377, allocations: 200.6 kB / 423.3 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.2379, allocations: 39.91 kB / 423.3 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002271/0.2402, allocations: 1.969 MB / 425.3 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/0.2403, allocations: 27.75 kB / 425.3 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.2404, allocations: 8 kB / 425.3 MB, free: 13.1 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 (22): * Single equations (assignments): 21 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.2405, allocations: 125.8 kB / 425.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.736e-05/0.2405, allocations: 19.75 kB / 425.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009687/0.2415, allocations: 386.4 kB / 425.9 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.2415, allocations: 0 / 425.9 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.2415, allocations: 3.938 kB / 425.9 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.2415, allocations: 7.984 kB / 425.9 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/0.2418, allocations: 297.4 kB / 426.2 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.2418, allocations: 7.938 kB / 426.2 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.2419, allocations: 27.98 kB / 426.2 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009231/0.2428, allocations: 196.6 kB / 426.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.2429, allocations: 8 kB / 426.4 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00193/0.2448, allocations: 1.961 MB / 428.4 MB, free: 9.875 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.2448, allocations: 0 / 428.4 MB, free: 9.875 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008924/0.2457, allocations: 447.9 kB / 428.8 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.373e-05/0.2458, allocations: 92.86 kB / 428.9 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.2458, allocations: 7.984 kB / 428.9 MB, free: 9.301 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.246, allocations: 12 kB / 428.9 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.246, allocations: 19.97 kB / 428.9 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.2461, allocations: 4 kB / 428.9 MB, free: 9.266 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.661e-05/0.2462, allocations: 132.2 kB / 429.1 MB, free: 9.137 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.874e-06/0.2462, allocations: 3.938 kB / 429.1 MB, free: 9.133 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003477/0.2465, allocations: 75.72 kB / 429.1 MB, free: 9.059 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 (15): * Single equations (assignments): 14 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001135/0.2477, allocations: 0.996 MB / 430.1 MB, free: 8.031 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008792/0.2485, allocations: 426.4 kB / 430.6 MB, free: 7.602 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.2486, allocations: 0 / 430.6 MB, free: 7.602 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005348/0.2491, allocations: 285 kB / 430.8 MB, free: 7.312 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.2494, allocations: 23.92 kB / 430.9 MB, free: 7.289 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003199/0.2526, allocations: 2.494 MB / 433.3 MB, free: 4.715 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001529/0.2528, allocations: 0.7202 MB / 434.1 MB, free: 3.969 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.965e-05/0.2529, allocations: 29.48 kB / 434.1 MB, free: 3.938 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.098e-05/0.253, allocations: 47.42 kB / 434.1 MB, free: 3.891 MB / 302.1 MB Notification: Performance of SimCode: time 4.2e-07/0.253, allocations: 0 / 434.1 MB, free: 3.891 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02573/0.2787, allocations: 6.079 MB / 440.2 MB, free: 13.89 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11, allocations: 15.31 kB / 440.2 MB, free: 13.89 MB / 318.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad_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_OneSourceOneTransfoOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe 2>&1)