Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.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.OneSourceOneTransfoOnelineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad",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.001117/0.001117, allocations: 104.5 kB / 16.31 MB, free: 6.441 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.001129/0.001129, allocations: 188 kB / 17.24 MB, free: 5.938 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.414/1.414, allocations: 222.9 MB / 240.9 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04561/0.04561, allocations: 8.097 MB / 299.2 MB, free: 6.762 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 59.91 kB / 361.8 MB, free: 8.074 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.229, allocations: 51.51 MB / 413.3 MB, free: 25.6 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad): time 0.002242/0.2312, allocations: 1.606 MB / 415 MB, free: 24 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.2326, allocations: 1.543 MB / 416.5 MB, free: 22.44 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.567e-05/0.2327, allocations: 4 kB / 416.5 MB, free: 22.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.233, allocations: 135.3 kB / 416.6 MB, free: 22.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002465/0.2332, allocations: 135.1 kB / 416.8 MB, free: 22.17 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001433/0.2347, allocations: 1.163 MB / 417.9 MB, free: 21 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002243/0.2349, allocations: 238.8 kB / 418.2 MB, free: 20.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.235, allocations: 80.17 kB / 418.2 MB, free: 20.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.605e-05/0.2351, allocations: 95.7 kB / 418.3 MB, free: 20.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.2352, allocations: 131.4 kB / 418.5 MB, free: 20.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.915e-05/0.2353, allocations: 20 kB / 418.5 MB, free: 20.44 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003063/0.2356, allocations: 251.7 kB / 418.7 MB, free: 20.19 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.393e-05/0.2356, allocations: 47.83 kB / 418.8 MB, free: 20.14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.931e-05/0.2357, allocations: 119.3 kB / 418.9 MB, free: 20.03 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003478/0.2361, allocations: 429.1 kB / 419.3 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2361, allocations: 4 kB / 419.3 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.2361, allocations: 4 kB / 419.3 MB, free: 19.6 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.2361, allocations: 0 / 419.3 MB, free: 19.6 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002534/0.2386, allocations: 0.9085 MB / 420.2 MB, free: 18.64 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.2387, allocations: 15.89 kB / 420.2 MB, free: 18.62 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.245e-05/0.2387, allocations: 46.73 kB / 420.3 MB, free: 18.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.363e-05/0.2388, allocations: 24.66 kB / 420.3 MB, free: 18.55 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002217/0.239, allocations: 259.9 kB / 420.6 MB, free: 18.25 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.239, allocations: 20.7 kB / 420.6 MB, free: 18.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.2391, allocations: 24.31 kB / 420.6 MB, free: 18.21 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003329/0.2394, allocations: 281.7 kB / 420.9 MB, free: 17.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.2394, allocations: 3.938 kB / 420.9 MB, free: 17.92 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.429e-05/0.2395, allocations: 8 kB / 420.9 MB, free: 17.91 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.2395, allocations: 7.984 kB / 420.9 MB, free: 17.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002821/0.2397, allocations: 243.9 kB / 421.1 MB, free: 17.67 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.2409, allocations: 1.152 MB / 422.3 MB, free: 16.39 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000493/0.2414, allocations: 306.4 kB / 422.6 MB, free: 16.08 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/0.2416, allocations: 152.8 kB / 422.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.969e-05/0.2416, allocations: 4 kB / 422.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.2416, allocations: 42.56 kB / 422.8 MB, free: 15.88 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 1.533e-06/0.2416, allocations: 0 / 422.8 MB, free: 15.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.002874/0.2445, allocations: 0.9574 MB / 423.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.2446, allocations: 93.05 kB / 423.8 MB, free: 14.78 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.2448, allocations: 203.2 kB / 424 MB, free: 14.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.2448, allocations: 29.7 kB / 424.1 MB, free: 14.54 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.272e-05/0.2449, allocations: 140.7 kB / 424.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.624e-05/0.2449, allocations: 82.75 kB / 424.3 MB, free: 14.31 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.245, allocations: 69.59 kB / 424.3 MB, free: 14.24 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.655e-05/0.2451, allocations: 326.8 kB / 424.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.2453, allocations: 167.9 kB / 424.8 MB, free: 13.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.2455, allocations: 197.3 kB / 425 MB, free: 13.55 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004046/0.2459, allocations: 370.4 kB / 425.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.2459, allocations: 0 / 425.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001563/0.2475, allocations: 0.6886 MB / 426.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.2475, allocations: 8 kB / 426.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.2475, allocations: 3.984 kB / 426.1 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001614/0.2491, allocations: 380.4 kB / 426.5 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/0.2494, allocations: 55.91 kB / 426.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003601/0.253, allocations: 2.75 MB / 429.3 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002611/0.2532, allocations: 31.75 kB / 429.3 MB, free: 9.125 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.2533, allocations: 12 kB / 429.3 MB, free: 9.113 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 (31): * Single equations (assignments): 30 * 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 {(6,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001371/0.2534, allocations: 142.6 kB / 429.4 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.486e-05/0.2535, allocations: 23.66 kB / 429.5 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00158/0.2551, allocations: 0.6522 MB / 430.1 MB, free: 8.285 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.2551, allocations: 4 kB / 430.1 MB, free: 8.281 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.2551, allocations: 0 / 430.1 MB, free: 8.281 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.2551, allocations: 0 / 430.1 MB, free: 8.281 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002783/0.2554, allocations: 397.2 kB / 430.5 MB, free: 7.844 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2554, allocations: 0 / 430.5 MB, free: 7.844 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.2555, allocations: 35.92 kB / 430.5 MB, free: 7.809 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001558/0.2571, allocations: 380.7 kB / 430.9 MB, free: 7.434 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.2571, allocations: 7.938 kB / 430.9 MB, free: 7.426 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003393/0.2605, allocations: 2.715 MB / 433.6 MB, free: 4.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2605, allocations: 0 / 433.6 MB, free: 4.57 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/0.262, allocations: 0.6992 MB / 434.3 MB, free: 3.852 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.835e-05/0.2621, allocations: 100.8 kB / 434.4 MB, free: 3.734 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.776e-05/0.2621, allocations: 8.125 kB / 434.4 MB, free: 3.727 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.2624, allocations: 19.98 kB / 434.5 MB, free: 3.707 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/0.2624, allocations: 23.95 kB / 434.5 MB, free: 3.684 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.2625, allocations: 12 kB / 434.5 MB, free: 3.672 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001088/0.2626, allocations: 151.4 kB / 434.6 MB, free: 3.523 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.2626, allocations: 3.938 kB / 434.7 MB, free: 3.52 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004237/0.263, allocations: 103.9 kB / 434.8 MB, free: 3.418 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 (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 {(6,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001741/0.2648, allocations: 1.256 MB / 436 MB, free: 2.133 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00149/0.2663, allocations: 0.6545 MB / 436.7 MB, free: 1.465 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.2663, allocations: 8 kB / 436.7 MB, free: 1.457 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001068/0.2674, allocations: 454.4 kB / 437.1 MB, free: 1 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.2677, allocations: 23.94 kB / 437.1 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00549/0.2732, allocations: 3.358 MB / 440.5 MB, free: 13.53 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.2735, allocations: 0.7523 MB / 441.3 MB, free: 12.75 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001301/0.2737, allocations: 29.92 kB / 441.3 MB, free: 12.73 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.2738, allocations: 67.41 kB / 441.3 MB, free: 12.66 MB / 318.1 MB Notification: Performance of SimCode: time 7.61e-07/0.2738, allocations: 0 / 441.3 MB, free: 12.66 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02917/0.303, allocations: 8.711 MB / 450.1 MB, free: 4.062 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.08, allocations: 15.75 kB / 450.1 MB, free: 4.047 MB / 318.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad_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_OneSourceOneTransfoOnelineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe 2>&1)