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.001223/0.001223, allocations: 114.2 kB / 16.63 MB, free: 6.812 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.001144/0.001144, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.164/1.164, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1573/0.1573, allocations: 38.02 MB / 329.4 MB, free: 8.988 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 57.67 kB / 398.4 MB, free: 34.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08057/0.08175, allocations: 58.06 MB / 456.4 MB, free: 8.324 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.004738/0.08653, allocations: 4.19 MB / 460.6 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002057/0.0886, allocations: 1.87 MB / 462.5 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.08874, allocations: 11.94 kB / 462.5 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008492/0.08961, allocations: 341 kB / 462.8 MB, free: 1.891 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006766/0.09029, allocations: 378.8 kB / 463.2 MB, free: 1.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003/0.0906, allocations: 131.7 kB / 463.3 MB, free: 1.391 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004494/0.09106, allocations: 490.6 kB / 463.8 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000362/0.09143, allocations: 239 kB / 464.1 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002703/0.09171, allocations: 215.1 kB / 464.3 MB, free: 472 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002808/0.092, allocations: 251.1 kB / 464.5 MB, free: 220 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.305e-05/0.09204, allocations: 20 kB / 464.5 MB, free: 200 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005739/0.09262, allocations: 454.9 kB / 465 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.09277, allocations: 159.6 kB / 465.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001397/0.09292, allocations: 151.3 kB / 465.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005525/0.09347, allocations: 0.518 MB / 465.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.09349, allocations: 0 / 465.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.0935, allocations: 0 / 465.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.427e-06/0.09352, allocations: 0 / 465.8 MB, free: 14.93 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.0007229/0.09424, allocations: 0.5964 MB / 466.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.09428, allocations: 11.89 kB / 466.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.059e-05/0.09435, allocations: 70.7 kB / 466.5 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/0.09544, allocations: 136.4 kB / 466.6 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003111/0.09576, allocations: 285.3 kB / 466.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.09579, allocations: 20.92 kB / 466.9 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.183e-05/0.09585, allocations: 28.38 kB / 466.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005937/0.09645, allocations: 439.7 kB / 467.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.09647, allocations: 3.984 kB / 467.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.077e-05/0.09651, allocations: 16 kB / 467.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.802e-05/0.09655, allocations: 20.55 kB / 467.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005499/0.09711, allocations: 425.9 kB / 467.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001888/0.09901, allocations: 1.725 MB / 469.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003231/0.09934, allocations: 278.2 kB / 469.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.09952, allocations: 137.7 kB / 469.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.09956, allocations: 11.98 kB / 470 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.09959, allocations: 34.94 kB / 470 MB, free: 10.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.483e-06/0.0996, allocations: 0 / 470 MB, free: 10.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001589/0.1012, allocations: 0.7949 MB / 470.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.1012, allocations: 81.11 kB / 470.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.1014, allocations: 211.1 kB / 471.1 MB, free: 9.289 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.1014, allocations: 29.7 kB / 471.1 MB, free: 9.254 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.536e-05/0.1015, allocations: 180 kB / 471.3 MB, free: 9.074 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.786e-05/0.1016, allocations: 78.84 kB / 471.4 MB, free: 8.996 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.842e-05/0.1017, allocations: 61.89 kB / 471.4 MB, free: 8.926 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.992e-05/0.1018, allocations: 330.8 kB / 471.7 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.1019, allocations: 104.5 kB / 471.8 MB, free: 8.492 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.1021, allocations: 212.9 kB / 472 MB, free: 8.242 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003696/0.1025, allocations: 343.7 kB / 472.4 MB, free: 7.863 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1025, allocations: 0 / 472.4 MB, free: 7.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006694/0.1032, allocations: 429.2 kB / 472.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.1032, allocations: 13.81 kB / 472.8 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.1032, allocations: 7.984 kB / 472.8 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003332/0.1036, allocations: 80.8 kB / 472.9 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.1038, allocations: 56.12 kB / 473 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001749/0.1055, allocations: 2.013 MB / 475 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.1057, allocations: 12 kB / 475 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.757e-05/0.1057, allocations: 19.98 kB / 475 MB, free: 5.102 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.0001492/0.1059, allocations: 177.8 kB / 475.2 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.454e-05/0.1059, allocations: 19.72 kB / 475.2 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006529/0.1066, allocations: 384.8 kB / 475.6 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.1066, allocations: 4 kB / 475.6 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1066, allocations: 4 kB / 475.6 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.1066, allocations: 0 / 475.6 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/0.1079, allocations: 0.9282 MB / 476.5 MB, free: 3.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.108, allocations: 8.031 kB / 476.5 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/0.1081, allocations: 31.98 kB / 476.5 MB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002667/0.1084, allocations: 72.78 kB / 476.6 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.1084, allocations: 4 kB / 476.6 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001653/0.1101, allocations: 1.908 MB / 478.5 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.1101, allocations: 7.969 kB / 478.5 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006122/0.1107, allocations: 458.5 kB / 479 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.728e-05/0.1108, allocations: 100.8 kB / 479.1 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.092e-05/0.1108, allocations: 4 kB / 479.1 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.111, allocations: 11.98 kB / 479.1 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/0.111, allocations: 27.95 kB / 479.1 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.111, allocations: 12.11 kB / 479.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00011/0.1112, allocations: 143.2 kB / 479.3 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1112, allocations: 0 / 479.3 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004378/0.1116, allocations: 84 kB / 479.4 MB, free: 468 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.0008549/0.1125, allocations: 0.9887 MB / 480.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006923/0.1132, allocations: 458.7 kB / 480.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.1132, allocations: 0 / 480.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003888/0.1136, allocations: 278.5 kB / 481.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.114, allocations: 51.17 kB / 481.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003405/0.1174, allocations: 3.116 MB / 484.2 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.1177, allocations: 0.8102 MB / 485 MB, free: 10.49 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001415/0.1179, allocations: 45.92 kB / 485.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.118, allocations: 91.39 kB / 485.2 MB, free: 10.36 MB / 366.1 MB Notification: Performance of SimCode: time 1.713e-06/0.118, allocations: 0 / 485.2 MB, free: 10.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.266/1.384, allocations: 5.512 MB / 490.7 MB, free: 4.984 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002701/1.384, allocations: 232.4 kB / 490.9 MB, free: 4.727 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.84/3.224, allocations: 3.938 kB / 490.9 MB, free: 4.723 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1)