Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.Generic.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest",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.001733/0.001733, allocations: 107.3 kB / 16.92 MB, free: 6.145 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.001722/0.001722, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.322/1.322, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1736/0.1736, allocations: 38.03 MB / 329.7 MB, free: 8.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 56.97 kB / 398.9 MB, free: 33.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08765/0.08888, allocations: 58.08 MB / 457 MB, free: 7.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.004788/0.09371, allocations: 3.945 MB / 460.9 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002151/0.09588, allocations: 1.823 MB / 462.7 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.09601, allocations: 7.938 kB / 462.7 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009023/0.09691, allocations: 370.5 kB / 463.1 MB, free: 1.777 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006713/0.0976, allocations: 394.5 kB / 463.5 MB, free: 1.391 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002864/0.09789, allocations: 147.6 kB / 463.6 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004964/0.0984, allocations: 494.6 kB / 464.1 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003109/0.09872, allocations: 207.1 kB / 464.3 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002393/0.09897, allocations: 211.1 kB / 464.5 MB, free: 356 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002649/0.09924, allocations: 235.2 kB / 464.8 MB, free: 120 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.38e-05/0.09929, allocations: 20 kB / 464.8 MB, free: 100 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006312/0.09992, allocations: 446.9 kB / 465.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.1001, allocations: 151.6 kB / 465.4 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001502/0.1002, allocations: 151.3 kB / 465.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005485/0.1008, allocations: 0.4947 MB / 466 MB, free: 14.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1008, allocations: 0 / 466 MB, free: 14.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.1008, allocations: 3.984 kB / 466 MB, free: 14.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.1008, allocations: 0 / 466 MB, free: 14.86 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0007589/0.1016, allocations: 0.5925 MB / 466.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.1016, allocations: 11.89 kB / 466.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.541e-05/0.1017, allocations: 66.72 kB / 466.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/0.1028, allocations: 132.4 kB / 466.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003142/0.1032, allocations: 287.7 kB / 467.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.1032, allocations: 20.94 kB / 467.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.198e-05/0.1033, allocations: 28.38 kB / 467.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006078/0.1039, allocations: 443.7 kB / 467.6 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.1039, allocations: 0 / 467.6 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.213e-05/0.1039, allocations: 8 kB / 467.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.759e-05/0.104, allocations: 32.48 kB / 467.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005703/0.1045, allocations: 421.9 kB / 468 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002037/0.1066, allocations: 1.721 MB / 469.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003756/0.107, allocations: 286.1 kB / 470 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/0.1072, allocations: 133.7 kB / 470.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.353e-05/0.1072, allocations: 4 kB / 470.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.1073, allocations: 42.92 kB / 470.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 3.967e-06/0.1073, allocations: 0 / 470.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001828/0.1091, allocations: 0.795 MB / 471 MB, free: 9.555 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.1092, allocations: 81.11 kB / 471.1 MB, free: 9.457 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.1094, allocations: 207 kB / 471.3 MB, free: 9.246 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.1094, allocations: 25.7 kB / 471.3 MB, free: 9.215 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.1095, allocations: 192.1 kB / 471.5 MB, free: 9.023 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.232e-05/0.1096, allocations: 82.83 kB / 471.6 MB, free: 8.941 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.835e-05/0.1097, allocations: 61.83 kB / 471.6 MB, free: 8.871 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.1098, allocations: 334.8 kB / 472 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.11, allocations: 104.5 kB / 472.1 MB, free: 8.434 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.1102, allocations: 209 kB / 472.3 MB, free: 8.188 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003968/0.1106, allocations: 343.7 kB / 472.6 MB, free: 7.809 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1106, allocations: 0 / 472.6 MB, free: 7.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007134/0.1113, allocations: 425 kB / 473 MB, free: 7.387 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.1114, allocations: 16.05 kB / 473 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.1114, allocations: 4 kB / 473 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004002/0.1118, allocations: 80.8 kB / 473.1 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.112, allocations: 59.97 kB / 473.2 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001971/0.114, allocations: 2.001 MB / 475.2 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.1142, allocations: 19.97 kB / 475.2 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.672e-05/0.1142, allocations: 15.94 kB / 475.2 MB, free: 5.055 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * 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): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001795/0.1144, allocations: 173.7 kB / 475.4 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.53e-05/0.1145, allocations: 23.78 kB / 475.4 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007179/0.1152, allocations: 384.8 kB / 475.8 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.1152, allocations: 4 kB / 475.8 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.1152, allocations: 4 kB / 475.8 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1152, allocations: 0 / 475.8 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/0.1167, allocations: 0.9281 MB / 476.7 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.1167, allocations: 0 / 476.7 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.1169, allocations: 35.92 kB / 476.7 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002671/0.1171, allocations: 81.03 kB / 476.8 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/0.1172, allocations: 8 kB / 476.8 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001743/0.1189, allocations: 1.896 MB / 478.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.1189, allocations: 4.031 kB / 478.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006556/0.1196, allocations: 462.4 kB / 479.2 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.881e-05/0.1197, allocations: 96.83 kB / 479.3 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.45e-05/0.1197, allocations: 8 kB / 479.3 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.1199, allocations: 15.92 kB / 479.3 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.1199, allocations: 27.84 kB / 479.3 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.12, allocations: 8 kB / 479.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000122/0.1201, allocations: 148.6 kB / 479.5 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1201, allocations: 0 / 479.5 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004885/0.1206, allocations: 84 kB / 479.6 MB, free: 420 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 1 system {(2,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009625/0.1216, allocations: 0.9926 MB / 480.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007633/0.1223, allocations: 458.9 kB / 481 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1224, allocations: 0 / 481 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004268/0.1228, allocations: 282.5 kB / 481.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.1232, allocations: 39.91 kB / 481.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003651/0.1268, allocations: 3.002 MB / 484.3 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/0.1272, allocations: 0.8141 MB / 485.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001548/0.1274, allocations: 54.05 kB / 485.2 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.1275, allocations: 87.39 kB / 485.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1275, allocations: 0 / 485.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02385/0.1514, allocations: 5.561 MB / 490.8 MB, free: 4.945 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.251/9.403, allocations: 5.703 kB / 490.8 MB, free: 4.941 MB / 366.1 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1)