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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.00104/0.00104, allocations: 101.3 kB / 16.5 MB, free: 6.641 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.0009793/0.0009798, allocations: 194.3 kB / 17.42 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.254/1.254, allocations: 205.1 MB / 223.3 MB, free: 12.46 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1739/0.1739, allocations: 38 MB / 308.6 MB, free: 6.246 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 63.03 kB / 374.7 MB, free: 4.023 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2531, allocations: 55.24 MB / 430 MB, free: 19.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.004517/0.2577, allocations: 4.192 MB / 434.2 MB, free: 15.56 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002079/0.2598, allocations: 1.944 MB / 436.1 MB, free: 13.6 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002083/0.2601, allocations: 11.94 kB / 436.1 MB, free: 13.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007836/0.2609, allocations: 342.9 kB / 436.4 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006351/0.2615, allocations: 382.8 kB / 436.8 MB, free: 12.88 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.2618, allocations: 123.7 kB / 436.9 MB, free: 12.76 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004923/0.2623, allocations: 0.8457 MB / 437.8 MB, free: 11.91 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003042/0.2626, allocations: 211 kB / 438 MB, free: 11.71 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001811/0.2628, allocations: 183.1 kB / 438.2 MB, free: 11.53 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002195/0.263, allocations: 247.2 kB / 438.4 MB, free: 11.29 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.823e-05/0.2631, allocations: 16 kB / 438.4 MB, free: 11.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005398/0.2636, allocations: 0.53 MB / 439 MB, free: 10.74 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.2637, allocations: 155.6 kB / 439.1 MB, free: 10.59 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.2638, allocations: 147.2 kB / 439.3 MB, free: 10.44 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004259/0.2643, allocations: 0.5102 MB / 439.8 MB, free: 9.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2643, allocations: 0 / 439.8 MB, free: 9.93 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2643, allocations: 4 kB / 439.8 MB, free: 9.926 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.2643, allocations: 0 / 439.8 MB, free: 9.926 MB / 318.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.0006423/0.2649, allocations: 0.5964 MB / 440.4 MB, free: 9.281 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.265, allocations: 12.03 kB / 440.4 MB, free: 9.27 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.397e-05/0.265, allocations: 62.72 kB / 440.4 MB, free: 9.199 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/0.2661, allocations: 136.4 kB / 440.6 MB, free: 9.066 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.2664, allocations: 285.1 kB / 440.8 MB, free: 8.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.2664, allocations: 20.94 kB / 440.9 MB, free: 8.73 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.612e-05/0.2665, allocations: 36.27 kB / 440.9 MB, free: 8.695 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004997/0.267, allocations: 443.7 kB / 441.3 MB, free: 8.238 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.267, allocations: 0 / 441.3 MB, free: 8.238 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.795e-05/0.267, allocations: 8 kB / 441.3 MB, free: 8.23 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-05/0.2671, allocations: 24.55 kB / 441.4 MB, free: 8.207 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004939/0.2676, allocations: 429.9 kB / 441.8 MB, free: 7.785 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001598/0.2692, allocations: 1.721 MB / 443.5 MB, free: 5.93 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000283/0.2695, allocations: 286.2 kB / 443.8 MB, free: 5.613 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.2696, allocations: 141.7 kB / 443.9 MB, free: 5.469 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.89e-05/0.2697, allocations: 7.969 kB / 443.9 MB, free: 5.461 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.2697, allocations: 38.88 kB / 444 MB, free: 5.414 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.633e-06/0.2697, allocations: 4 kB / 444 MB, free: 5.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=23): time 0.001466/0.2712, allocations: 0.7787 MB / 444.8 MB, free: 4.602 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/0.2712, allocations: 81.11 kB / 444.8 MB, free: 4.504 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.2714, allocations: 210.8 kB / 445 MB, free: 4.289 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.2714, allocations: 29.7 kB / 445.1 MB, free: 4.254 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.136e-05/0.2715, allocations: 184 kB / 445.2 MB, free: 4.07 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.13e-05/0.2715, allocations: 83.03 kB / 445.3 MB, free: 3.988 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-05/0.2716, allocations: 49.98 kB / 445.4 MB, free: 3.934 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.511e-05/0.2717, allocations: 334.8 kB / 445.7 MB, free: 3.598 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.2718, allocations: 112.4 kB / 445.8 MB, free: 3.488 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.2719, allocations: 212.9 kB / 446 MB, free: 3.238 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003021/0.2723, allocations: 337 kB / 446.4 MB, free: 2.867 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2723, allocations: 4 kB / 446.4 MB, free: 2.863 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005841/0.2728, allocations: 437.6 kB / 446.8 MB, free: 2.426 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.2729, allocations: 4.406 kB / 446.8 MB, free: 2.422 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.2729, allocations: 8 kB / 446.8 MB, free: 2.414 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003406/0.2732, allocations: 80.8 kB / 446.9 MB, free: 2.332 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/0.2734, allocations: 55.91 kB / 446.9 MB, free: 2.277 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/0.2749, allocations: 1.803 MB / 448.7 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.275, allocations: 19.98 kB / 448.8 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.275, allocations: 12 kB / 448.8 MB, free: 316 kB / 318.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.000125/0.2752, allocations: 181.7 kB / 448.9 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.308e-05/0.2752, allocations: 23.75 kB / 449 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006939/0.2759, allocations: 372.2 kB / 449.3 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.2759, allocations: 4 kB / 449.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.276, allocations: 7.938 kB / 449.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.276, allocations: 7.984 kB / 449.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001456/0.2774, allocations: 0.9105 MB / 450.3 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.2774, allocations: 0 / 450.3 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.2776, allocations: 39.91 kB / 450.3 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002706/0.2779, allocations: 72.73 kB / 450.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.2779, allocations: 4 kB / 450.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001723/0.2796, allocations: 1.705 MB / 452.1 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.2797, allocations: 0 / 452.1 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006646/0.2803, allocations: 475 kB / 452.5 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.929e-05/0.2804, allocations: 88.92 kB / 452.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.408e-05/0.2804, allocations: 12 kB / 452.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.2806, allocations: 11.98 kB / 452.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.2806, allocations: 19.97 kB / 452.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.2807, allocations: 8 kB / 452.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001232/0.2808, allocations: 148.4 kB / 452.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.583e-06/0.2808, allocations: 0 / 452.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005102/0.2813, allocations: 91.94 kB / 452.9 MB, free: 11.88 MB / 334.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.0009626/0.2823, allocations: 1.009 MB / 453.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007402/0.283, allocations: 431.1 kB / 454.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2831, allocations: 4.062 kB / 454.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004493/0.2835, allocations: 282.4 kB / 454.6 MB, free: 10.1 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003967/0.2839, allocations: 36.5 kB / 454.7 MB, free: 10.06 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004007/0.2879, allocations: 3.124 MB / 457.8 MB, free: 6.75 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000445/0.2884, allocations: 0.8063 MB / 458.6 MB, free: 5.918 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001472/0.2886, allocations: 53.89 kB / 458.6 MB, free: 5.867 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.2887, allocations: 91.39 kB / 458.7 MB, free: 5.777 MB / 334.1 MB Notification: Performance of SimCode: time 7.22e-07/0.2887, allocations: 0 / 458.7 MB, free: 5.777 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01829/0.307, allocations: 5.332 MB / 464.1 MB, free: 484 kB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002788/0.3073, allocations: 225.2 kB / 464.3 MB, free: 220 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.929/2.237, allocations: 7.938 kB / 464.3 MB, free: 212 kB / 334.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)