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.00131/0.00131, allocations: 108.1 kB / 16.45 MB, free: 6.504 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.001305/0.001305, allocations: 186.4 kB / 17.38 MB, free: 5.688 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.441/1.441, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05357/0.05357, allocations: 8.099 MB / 299.3 MB, free: 6.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001956, allocations: 63.89 kB / 414 MB, free: 22.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09831/0.1003, allocations: 51.51 MB / 465.5 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank): time 0.003347/0.1037, allocations: 1.395 MB / 466.9 MB, free: 1.266 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002573/0.1063, allocations: 1.512 MB / 468.4 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001748/0.1065, allocations: 4 kB / 468.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004623/0.107, allocations: 123.3 kB / 468.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003759/0.1074, allocations: 91.38 kB / 468.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001846/0.1092, allocations: 0.8945 MB / 469.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004202/0.1097, allocations: 191 kB / 469.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.1099, allocations: 69.62 kB / 469.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000146/0.11, allocations: 75.66 kB / 469.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002253/0.1103, allocations: 107.5 kB / 469.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.406e-05/0.1103, allocations: 16 kB / 470 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004705/0.1108, allocations: 203.8 kB / 470.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.485e-05/0.1109, allocations: 39.78 kB / 470.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.111, allocations: 95.58 kB / 470.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006327/0.1116, allocations: 347 kB / 470.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1116, allocations: 3.938 kB / 470.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1117, allocations: 0 / 470.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.1117, allocations: 0 / 470.6 MB, free: 13.5 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.002061/0.1137, allocations: 0.6973 MB / 471.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/0.1138, allocations: 11.89 kB / 471.3 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.565e-05/0.1139, allocations: 50.73 kB / 471.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.373e-05/0.114, allocations: 20.84 kB / 471.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003327/0.1143, allocations: 228.9 kB / 471.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.1143, allocations: 20.66 kB / 471.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/0.1144, allocations: 12.38 kB / 471.7 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003841/0.1148, allocations: 212.3 kB / 471.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.1148, allocations: 3.938 kB / 471.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.337e-05/0.1148, allocations: 4 kB / 471.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.1148, allocations: 4 kB / 471.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003404/0.1152, allocations: 208.7 kB / 472.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.1165, allocations: 0.8424 MB / 472.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007556/0.1173, allocations: 377.9 kB / 473.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002176/0.1175, allocations: 136.8 kB / 473.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.298e-05/0.1176, allocations: 7.922 kB / 473.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.1176, allocations: 42.56 kB / 473.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.453e-06/0.1176, allocations: 0 / 473.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.002213/0.1198, allocations: 0.7179 MB / 474.2 MB, free: 9.676 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.1199, allocations: 55.41 kB / 474.3 MB, free: 9.609 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/0.1201, allocations: 190.2 kB / 474.4 MB, free: 9.414 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.513e-05/0.1202, allocations: 29.7 kB / 474.5 MB, free: 9.379 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.1203, allocations: 120.5 kB / 474.6 MB, free: 9.258 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.05e-05/0.1204, allocations: 75.33 kB / 474.7 MB, free: 9.184 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.1205, allocations: 61.64 kB / 474.7 MB, free: 9.117 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.1207, allocations: 330.8 kB / 475 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/0.1209, allocations: 120 kB / 475.2 MB, free: 8.668 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.1211, allocations: 127.9 kB / 475.3 MB, free: 8.543 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004829/0.1216, allocations: 276.8 kB / 475.6 MB, free: 8.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.1216, allocations: 0 / 475.6 MB, free: 8.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001074/0.1227, allocations: 486.6 kB / 476 MB, free: 7.785 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.1227, allocations: 7.938 kB / 476 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.507e-06/0.1228, allocations: 4 kB / 476 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008268/0.1236, allocations: 188.6 kB / 476.2 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.1237, allocations: 35.92 kB / 476.3 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003549/0.1273, allocations: 2.356 MB / 478.6 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/0.1275, allocations: 19.84 kB / 478.6 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.179e-05/0.1275, allocations: 11.92 kB / 478.7 MB, free: 5.016 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.0001645/0.1277, allocations: 137.8 kB / 478.8 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.747e-05/0.1278, allocations: 15.91 kB / 478.8 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001121/0.1289, allocations: 467.7 kB / 479.3 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.1289, allocations: 288 / 479.3 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.1289, allocations: 4 kB / 479.3 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.129, allocations: 4 kB / 479.3 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001479/0.1304, allocations: 0.8544 MB / 480.1 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1305, allocations: 4 kB / 480.1 MB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9e-05/0.1306, allocations: 27.92 kB / 480.2 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007/0.1313, allocations: 176.7 kB / 480.3 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.1313, allocations: 7.938 kB / 480.3 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003148/0.1345, allocations: 2.321 MB / 482.7 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.1345, allocations: 0 / 482.7 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.1355, allocations: 0.5283 MB / 483.2 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.255e-05/0.1356, allocations: 96.95 kB / 483.3 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.497e-05/0.1357, allocations: 11.92 kB / 483.3 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.1359, allocations: 11.52 kB / 483.3 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.911e-05/0.1359, allocations: 19.97 kB / 483.3 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-05/0.1359, allocations: 8.281 kB / 483.3 MB, free: 84 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001832/0.1361, allocations: 144.7 kB / 483.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1361, allocations: 0 / 483.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004248/0.1366, allocations: 83.94 kB / 483.6 MB, free: 15.86 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.001458/0.138, allocations: 1.068 MB / 484.6 MB, free: 14.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001096/0.1392, allocations: 494.4 kB / 485.1 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/0.1392, allocations: 3.984 kB / 485.1 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006655/0.1398, allocations: 338.4 kB / 485.4 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.1402, allocations: 23.88 kB / 485.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004253/0.1444, allocations: 2.734 MB / 488.2 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000376/0.1448, allocations: 0.7366 MB / 488.9 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.677e-05/0.1449, allocations: 21.53 kB / 489 MB, free: 10.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.09e-05/0.145, allocations: 51.42 kB / 489 MB, free: 10.23 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.145, allocations: 0 / 489 MB, free: 10.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03503/0.1801, allocations: 7.017 MB / 496 MB, free: 3.355 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.67, allocations: 4.609 kB / 496 MB, free: 3.352 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)