Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3",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.001299/0.001299, allocations: 104.9 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.001259/0.00126, allocations: 184.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.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04934/0.04934, allocations: 8.101 MB / 299.2 MB, free: 6.707 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 59.91 kB / 361.8 MB, free: 8.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2197, allocations: 51.51 MB / 413.3 MB, free: 25.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3): time 0.003708/0.2234, allocations: 2.898 MB / 416.2 MB, free: 22.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002061/0.2255, allocations: 1.66 MB / 417.9 MB, free: 21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001664/0.2257, allocations: 8 kB / 417.9 MB, free: 20.99 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004561/0.2262, allocations: 182.9 kB / 418.1 MB, free: 20.81 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005188/0.2267, allocations: 226.5 kB / 418.3 MB, free: 20.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001839/0.2286, allocations: 1.251 MB / 419.6 MB, free: 19.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005156/0.2291, allocations: 0.4937 MB / 420.1 MB, free: 18.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002908/0.2294, allocations: 220.2 kB / 420.3 MB, free: 18.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.2295, allocations: 207.3 kB / 420.5 MB, free: 18.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002745/0.2298, allocations: 262.8 kB / 420.7 MB, free: 18.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.925e-05/0.2299, allocations: 44 kB / 420.8 MB, free: 18.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004342/0.2303, allocations: 275.8 kB / 421 MB, free: 17.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.575e-05/0.2304, allocations: 103.6 kB / 421.1 MB, free: 17.74 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.2306, allocations: 254.7 kB / 421.4 MB, free: 17.49 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005615/0.2311, allocations: 0.6737 MB / 422.1 MB, free: 16.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2312, allocations: 4 kB / 422.1 MB, free: 16.81 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2312, allocations: 0 / 422.1 MB, free: 16.81 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.2312, allocations: 0 / 422.1 MB, free: 16.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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.004747/0.2359, allocations: 1.443 MB / 423.5 MB, free: 15.31 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.236, allocations: 11.89 kB / 423.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.884e-05/0.2361, allocations: 78.7 kB / 423.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.2362, allocations: 60.28 kB / 423.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003694/0.2366, allocations: 347.4 kB / 424 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.2366, allocations: 33.38 kB / 424 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.029e-05/0.2367, allocations: 48.38 kB / 424.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006869/0.2374, allocations: 0.562 MB / 424.6 MB, free: 14.13 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.2374, allocations: 3.938 kB / 424.6 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.619e-05/0.2374, allocations: 16 kB / 424.7 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-06/0.2374, allocations: 12 kB / 424.7 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005928/0.238, allocations: 475.8 kB / 425.1 MB, free: 13.63 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002196/0.2403, allocations: 2.21 MB / 427.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007433/0.241, allocations: 0.6338 MB / 428 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002923/0.2413, allocations: 264.7 kB / 428.2 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.727e-05/0.2414, allocations: 19.97 kB / 428.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.2414, allocations: 46.5 kB / 428.3 MB, free: 10.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.663e-06/0.2414, allocations: 0 / 428.3 MB, free: 10.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.006328/0.2478, allocations: 1.822 MB / 430.1 MB, free: 8.328 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.2478, allocations: 106.8 kB / 430.2 MB, free: 8.199 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/0.2481, allocations: 274.8 kB / 430.5 MB, free: 7.918 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.648e-05/0.2481, allocations: 37.7 kB / 430.5 MB, free: 7.875 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.959e-05/0.2482, allocations: 205.1 kB / 430.7 MB, free: 7.672 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.496e-05/0.2483, allocations: 145.8 kB / 430.9 MB, free: 7.527 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/0.2485, allocations: 110.2 kB / 431 MB, free: 7.414 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.23e-05/0.2486, allocations: 342.8 kB / 431.3 MB, free: 7.07 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003391/0.2489, allocations: 269 kB / 431.6 MB, free: 6.809 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003669/0.2493, allocations: 324.6 kB / 431.9 MB, free: 6.484 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007468/0.2501, allocations: 0.606 MB / 432.5 MB, free: 5.875 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2501, allocations: 0 / 432.5 MB, free: 5.875 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002998/0.2531, allocations: 1.205 MB / 433.7 MB, free: 4.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.2531, allocations: 8 kB / 433.7 MB, free: 4.652 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.2531, allocations: 0 / 433.7 MB, free: 4.652 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00336/0.2565, allocations: 0.7695 MB / 434.5 MB, free: 3.879 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003346/0.2568, allocations: 87.89 kB / 434.6 MB, free: 3.793 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006173/0.263, allocations: 3.905 MB / 438.5 MB, free: 15.76 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004556/0.2635, allocations: 51.47 kB / 438.5 MB, free: 15.71 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.487e-05/0.2635, allocations: 19.98 kB / 438.6 MB, free: 15.69 MB / 318.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 (51): * Single equations (assignments): 50 * 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 {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002397/0.2638, allocations: 169.8 kB / 438.7 MB, free: 15.51 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.92e-05/0.2639, allocations: 43.47 kB / 438.8 MB, free: 15.47 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003403/0.2673, allocations: 1.156 MB / 439.9 MB, free: 14.3 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.902e-06/0.2673, allocations: 7.938 kB / 439.9 MB, free: 14.29 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.2673, allocations: 4 kB / 439.9 MB, free: 14.29 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.2673, allocations: 3.984 kB / 439.9 MB, free: 14.28 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003899/0.2712, allocations: 1.748 MB / 441.7 MB, free: 12.47 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.2713, allocations: 3.938 kB / 441.7 MB, free: 12.47 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002258/0.2715, allocations: 55.91 kB / 441.7 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003538/0.275, allocations: 0.7528 MB / 442.5 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.319e-05/0.2751, allocations: 15.94 kB / 442.5 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00674/0.2819, allocations: 3.843 MB / 446.3 MB, free: 7.66 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.2819, allocations: 7.938 kB / 446.4 MB, free: 7.652 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003248/0.2851, allocations: 1.179 MB / 447.5 MB, free: 6.453 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001879/0.2853, allocations: 116.6 kB / 447.6 MB, free: 6.32 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.39e-05/0.2854, allocations: 4 kB / 447.7 MB, free: 6.316 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003752/0.2858, allocations: 31.97 kB / 447.7 MB, free: 6.285 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.2859, allocations: 32.39 kB / 447.7 MB, free: 6.254 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.318e-05/0.286, allocations: 20 kB / 447.7 MB, free: 6.234 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001959/0.2862, allocations: 190 kB / 447.9 MB, free: 6.051 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2862, allocations: 7.938 kB / 447.9 MB, free: 6.043 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006278/0.2868, allocations: 191.8 kB / 448.1 MB, free: 5.855 MB / 318.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 (34): * Single equations (assignments): 33 * 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 {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003653/0.2905, allocations: 1.747 MB / 449.9 MB, free: 4.078 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002712/0.2933, allocations: 1.004 MB / 450.9 MB, free: 3.062 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.2933, allocations: 0 / 450.9 MB, free: 3.062 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001734/0.295, allocations: 0.6452 MB / 451.5 MB, free: 2.402 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004635/0.2955, allocations: 36.88 kB / 451.5 MB, free: 2.363 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/0.3058, allocations: 5.09 MB / 456.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.3062, allocations: 0.8168 MB / 457.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002003/0.3064, allocations: 50.94 kB / 457.5 MB, free: 12.28 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000184/0.3066, allocations: 147.3 kB / 457.6 MB, free: 12.13 MB / 334.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3066, allocations: 0 / 457.6 MB, free: 12.13 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03698/0.3436, allocations: 14.56 MB / 472.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.16, allocations: 10.28 kB / 472.2 MB, free: 13.79 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3_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_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.pipe 2>&1)