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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001173/0.001173, allocations: 180.9 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.315/1.315, allocations: 194.5 MB / 211.6 MB, free: 3.055 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001646/0.001646, allocations: 110.1 kB / 256.9 MB, free: 4.371 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1683/0.1683, allocations: 38 MB / 340.1 MB, free: 1.363 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000366/0.000366, allocations: 12 kB / 403.9 MB, free: 68.72 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1144, allocations: 53.23 MB / 457.1 MB, free: 15.48 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.345/0.4594, allocations: 89.06 MB / 0.5334 GB, free: 6.539 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/0.4598, allocations: 87.48 kB / 0.5335 GB, free: 6.492 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04133/0.5011, allocations: 17.98 MB / 0.551 GB, free: 7.598 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.5012, allocations: 0 / 0.551 GB, free: 7.598 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.903e-05/0.5012, allocations: 8 kB / 0.551 GB, free: 7.59 MB / 362.7 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.001311/0.5025, allocations: 0.5621 MB / 0.5516 GB, free: 6.996 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.327e-05/0.5026, allocations: 12.02 kB / 0.5516 GB, free: 6.984 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001583/0.5028, allocations: 71.91 kB / 0.5516 GB, free: 6.922 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001314/0.5041, allocations: 131.5 kB / 0.5518 GB, free: 6.793 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005294/0.5046, allocations: 302.3 kB / 0.5521 GB, free: 6.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.5047, allocations: 18.25 kB / 0.5521 GB, free: 6.469 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.009e-05/0.5047, allocations: 22 kB / 0.5521 GB, free: 6.453 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006563/0.5054, allocations: 435 kB / 0.5525 GB, free: 6.117 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.5054, allocations: 7.859 kB / 0.5525 GB, free: 6.109 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.416e-05/0.5055, allocations: 14.42 kB / 0.5525 GB, free: 6.102 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001201/0.5056, allocations: 35.84 kB / 0.5526 GB, free: 6.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006011/0.5062, allocations: 409.2 kB / 0.553 GB, free: 5.785 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002472/0.5087, allocations: 1.719 MB / 0.5546 GB, free: 4.184 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004114/0.5091, allocations: 290.1 kB / 0.5549 GB, free: 3.918 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.413e-05/0.5092, allocations: 7.672 kB / 0.5549 GB, free: 3.914 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.5092, allocations: 34.81 kB / 0.555 GB, free: 3.871 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 2.264e-06/0.5092, allocations: 0 / 0.555 GB, free: 3.871 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.001861/0.5111, allocations: 0.7714 MB / 0.5557 GB, free: 3.234 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.315e-05/0.5112, allocations: 89.22 kB / 0.5558 GB, free: 3.129 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.5114, allocations: 188.3 kB / 0.556 GB, free: 2.961 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.5114, allocations: 29.58 kB / 0.556 GB, free: 2.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.5115, allocations: 179.5 kB / 0.5562 GB, free: 2.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.912e-05/0.5116, allocations: 78.89 kB / 0.5562 GB, free: 2.703 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.33e-05/0.5116, allocations: 7.562 kB / 0.5563 GB, free: 2.699 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.5118, allocations: 328.3 kB / 0.5566 GB, free: 2.379 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.5119, allocations: 105.2 kB / 0.5567 GB, free: 2.305 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002086/0.5121, allocations: 209.7 kB / 0.5569 GB, free: 2.098 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.5123, allocations: 147.5 kB / 0.557 GB, free: 2.004 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.5124, allocations: 0 / 0.557 GB, free: 2.004 MB / 362.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007218/0.5131, allocations: 423.6 kB / 0.5574 GB, free: 1.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.5131, allocations: 4 kB / 0.5574 GB, free: 1.676 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.5131, allocations: 7.938 kB / 0.5574 GB, free: 1.668 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004057/0.5135, allocations: 91.89 kB / 0.5575 GB, free: 1.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002409/0.5138, allocations: 63.58 kB / 0.5576 GB, free: 1.531 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001983/0.5158, allocations: 1.831 MB / 0.5594 GB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/0.516, allocations: 23.53 kB / 0.5594 GB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.368e-05/0.516, allocations: 15.69 kB / 0.5594 GB, free: 15.73 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001949/0.5162, allocations: 170.1 kB / 0.5596 GB, free: 15.58 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.192e-05/0.5163, allocations: 23.72 kB / 0.5596 GB, free: 15.56 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000681/0.517, allocations: 380.1 kB / 0.5599 GB, free: 15.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.517, allocations: 4 kB / 0.5599 GB, free: 15.28 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.517, allocations: 0 / 0.5599 GB, free: 15.28 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.517, allocations: 4 kB / 0.56 GB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/0.5185, allocations: 0.9238 MB / 0.5609 GB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.5185, allocations: 4.062 kB / 0.5609 GB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.5186, allocations: 36.3 kB / 0.5609 GB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002649/0.5189, allocations: 72.09 kB / 0.561 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.519, allocations: 7.75 kB / 0.561 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001731/0.5207, allocations: 1.743 MB / 0.5627 GB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5207, allocations: 0 / 0.5627 GB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006902/0.5214, allocations: 493.9 kB / 0.5631 GB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.5215, allocations: 104.1 kB / 0.5632 GB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/0.5216, allocations: 4 kB / 0.5632 GB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.5217, allocations: 15.12 kB / 0.5633 GB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/0.5218, allocations: 15.23 kB / 0.5633 GB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/0.5218, allocations: 15.3 kB / 0.5633 GB, free: 12.03 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001452/0.522, allocations: 152 kB / 0.5634 GB, free: 11.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.522, allocations: 0 / 0.5634 GB, free: 11.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005268/0.5225, allocations: 90.44 kB / 0.5635 GB, free: 11.82 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001078/0.5236, allocations: 1.231 MB / 0.5647 GB, free: 10.63 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007491/0.5243, allocations: 445.7 kB / 0.5651 GB, free: 10.26 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5244, allocations: 0 / 0.5651 GB, free: 10.26 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004206/0.5248, allocations: 276.7 kB / 0.5654 GB, free: 10.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.5251, allocations: 33.3 kB / 0.5654 GB, free: 10 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003429/0.5285, allocations: 3.709 MB / 0.5691 GB, free: 6.449 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004399/0.529, allocations: 0.8105 MB / 0.5699 GB, free: 5.625 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001677/0.5292, allocations: 54.03 kB / 0.5699 GB, free: 5.574 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.5293, allocations: 90.97 kB / 0.57 GB, free: 5.543 MB / 378.7 MB Notification: Performance of SimCode: time 6.91e-07/0.5293, allocations: 0 / 0.57 GB, free: 5.543 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01819/0.5475, allocations: 5.13 MB / 0.575 GB, free: 444 kB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002192/0.5478, allocations: 205 kB / 0.5752 GB, free: 192 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.744/2.291, allocations: 3.938 kB / 0.5752 GB, free: 188 kB / 378.7 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/linux/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)