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.001181/0.001181, allocations: 100.6 kB / 16.45 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.00119/0.00119, allocations: 188.9 kB / 17.38 MB, free: 5.691 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.237/1.237, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04329/0.04329, allocations: 8.088 MB / 299.3 MB, free: 6.656 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 72.11 kB / 414 MB, free: 22.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08186/0.08299, allocations: 51.51 MB / 465.5 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank): time 0.002269/0.08529, allocations: 1.403 MB / 466.9 MB, free: 1.273 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.08702, allocations: 1.504 MB / 468.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.748e-05/0.0871, allocations: 4 kB / 468.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003036/0.08742, allocations: 123.4 kB / 468.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002291/0.08766, allocations: 95.38 kB / 468.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001446/0.08912, allocations: 0.8983 MB / 469.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002488/0.08938, allocations: 199 kB / 469.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.08952, allocations: 65.62 kB / 469.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.391e-05/0.0896, allocations: 75.72 kB / 469.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.08976, allocations: 103.5 kB / 469.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.893e-05/0.0898, allocations: 19.98 kB / 470 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003065/0.09011, allocations: 195.8 kB / 470.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.853e-05/0.09016, allocations: 51.77 kB / 470.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.583e-05/0.09025, allocations: 87.59 kB / 470.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004053/0.09066, allocations: 355 kB / 470.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.09068, allocations: 0 / 470.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.09068, allocations: 0 / 470.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.09069, allocations: 0 / 470.6 MB, free: 13.51 MB / 350.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.001702/0.0924, allocations: 0.6856 MB / 471.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.09244, allocations: 15.89 kB / 471.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.607e-05/0.09249, allocations: 46.73 kB / 471.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.081e-05/0.09255, allocations: 16.84 kB / 471.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.0928, allocations: 236.9 kB / 471.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.09282, allocations: 16.59 kB / 471.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.833e-05/0.09287, allocations: 20.38 kB / 471.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003095/0.09318, allocations: 212.3 kB / 471.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.0932, allocations: 3.938 kB / 471.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.841e-05/0.09323, allocations: 8 kB / 471.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.09324, allocations: 7.984 kB / 471.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002699/0.09352, allocations: 200.7 kB / 472.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.09459, allocations: 0.8424 MB / 472.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006519/0.09526, allocations: 379.5 kB / 473.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/0.09545, allocations: 132.8 kB / 473.4 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.92e-05/0.09549, allocations: 11.98 kB / 473.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.09552, allocations: 38.55 kB / 473.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.232e-06/0.09553, allocations: 0 / 473.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.00198/0.09752, allocations: 0.7223 MB / 474.2 MB, free: 9.684 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.09757, allocations: 59.39 kB / 474.3 MB, free: 9.613 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.09776, allocations: 182.3 kB / 474.4 MB, free: 9.426 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.0978, allocations: 29.7 kB / 474.5 MB, free: 9.391 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.04e-05/0.09788, allocations: 128.5 kB / 474.6 MB, free: 9.262 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.218e-05/0.09794, allocations: 75.33 kB / 474.7 MB, free: 9.188 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.294e-05/0.09804, allocations: 61.64 kB / 474.7 MB, free: 9.121 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.09815, allocations: 330.8 kB / 475.1 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/0.09833, allocations: 120 kB / 475.2 MB, free: 8.672 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.0985, allocations: 127.9 kB / 475.3 MB, free: 8.547 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003545/0.09886, allocations: 276.8 kB / 475.6 MB, free: 8.273 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.09887, allocations: 0 / 475.6 MB, free: 8.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009236/0.0998, allocations: 486.6 kB / 476 MB, free: 7.789 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.09983, allocations: 15.86 kB / 476.1 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.09984, allocations: 0 / 476.1 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007146/0.1006, allocations: 180.7 kB / 476.2 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.1007, allocations: 39.91 kB / 476.3 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002802/0.1035, allocations: 2.344 MB / 478.6 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/0.1037, allocations: 23.84 kB / 478.6 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.1037, allocations: 19.97 kB / 478.7 MB, free: 5.02 MB / 350.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.0001217/0.1038, allocations: 129.8 kB / 478.8 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.769e-05/0.1039, allocations: 15.91 kB / 478.8 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009452/0.1048, allocations: 467.7 kB / 479.3 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.1049, allocations: 8 kB / 479.3 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.61e-07/0.1049, allocations: 0 / 479.3 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1049, allocations: 4.078 kB / 479.3 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.1061, allocations: 0.8506 MB / 480.1 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1061, allocations: 0 / 480.1 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.178e-05/0.1062, allocations: 27.92 kB / 480.2 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006308/0.1069, allocations: 180.9 kB / 480.3 MB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.1069, allocations: 8 kB / 480.3 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00257/0.1095, allocations: 2.321 MB / 482.7 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1095, allocations: 0 / 482.7 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009016/0.1104, allocations: 0.5283 MB / 483.2 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.303e-05/0.1105, allocations: 97 kB / 483.3 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.1105, allocations: 7.938 kB / 483.3 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.1107, allocations: 8 kB / 483.3 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.693e-05/0.1107, allocations: 27.97 kB / 483.3 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.1107, allocations: 4 kB / 483.3 MB, free: 96 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001309/0.1109, allocations: 144.7 kB / 483.5 MB, free: 15.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1109, allocations: 0 / 483.5 MB, free: 15.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003464/0.1112, allocations: 72 kB / 483.5 MB, free: 15.88 MB / 366.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.001201/0.1125, allocations: 1.08 MB / 484.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009219/0.1134, allocations: 490.5 kB / 485.1 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1134, allocations: 4.219 kB / 485.1 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006155/0.114, allocations: 338.4 kB / 485.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.1143, allocations: 31 kB / 485.5 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003555/0.1179, allocations: 2.741 MB / 488.2 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/0.1182, allocations: 0.7328 MB / 488.9 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.772e-05/0.1183, allocations: 17.53 kB / 489 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.98e-05/0.1184, allocations: 55.41 kB / 489 MB, free: 10.24 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1184, allocations: 4 kB / 489 MB, free: 10.24 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02683/0.1452, allocations: 6.999 MB / 496 MB, free: 3.371 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/10.48, allocations: 8.672 kB / 496 MB, free: 3.363 MB / 366.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 & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank_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_OneSourceOneLineOneLoadOneBank.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe 2>&1)