Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Units.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.Introductory.Units,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Units",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Units,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Units",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.001555/0.001555, allocations: 182 kB / 13.64 MB, free: 1.676 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.82/1.82, allocations: 194.3 MB / 208.4 MB, free: 6.715 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.001659/0.001658, allocations: 116.7 kB / 253.5 MB, free: 9.59 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1803/0.1803, allocations: 37.9 MB / 336.4 MB, free: 14.27 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.441e-05/3.45e-05, allocations: 4 kB / 397.6 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2446, allocations: 53.21 MB / 450.8 MB, free: 13.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4002/0.6449, allocations: 94.33 MB / 0.5324 GB, free: 31.77 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/0.6451, allocations: 82.33 kB / 0.5325 GB, free: 31.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05207/0.6972, allocations: 19.27 MB / 0.5513 GB, free: 29.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.6973, allocations: 0 / 0.5513 GB, free: 29.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.344e-05/0.6973, allocations: 15.62 kB / 0.5513 GB, free: 29.55 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.001675/0.699, allocations: 0.9051 MB / 0.5522 GB, free: 28.97 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.961e-05/0.6991, allocations: 7.812 kB / 0.5522 GB, free: 28.97 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001681/0.6993, allocations: 131.9 kB / 0.5523 GB, free: 28.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000745/0.7, allocations: 143 kB / 0.5525 GB, free: 28.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002424/0.7025, allocations: 0.8694 MB / 0.5533 GB, free: 28.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.68e-05/0.7025, allocations: 63.62 kB / 0.5534 GB, free: 28.56 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.7026, allocations: 72.84 kB / 0.5534 GB, free: 28.56 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/0.7041, allocations: 1.091 MB / 0.5545 GB, free: 28.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.097e-05/0.7041, allocations: 3.938 kB / 0.5545 GB, free: 28.22 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.321e-05/0.7042, allocations: 38.36 kB / 0.5546 GB, free: 28.22 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.09e-05/0.7043, allocations: 44.72 kB / 0.5546 GB, free: 28.22 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.7054, allocations: 0.7833 MB / 0.5554 GB, free: 28.19 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004301/0.7097, allocations: 5.005 MB / 0.5602 GB, free: 24.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005397/0.7103, allocations: 404.8 kB / 0.5606 GB, free: 24.8 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002409/0.7105, allocations: 209.5 kB / 0.5608 GB, free: 24.78 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.703e-05/0.7106, allocations: 8.141 kB / 0.5608 GB, free: 24.78 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.7106, allocations: 38.77 kB / 0.5609 GB, free: 24.74 MB / 378.7 MB Notification: Performance of pre-optimization done (n=47): time 3.757e-06/0.7106, allocations: 4 kB / 0.5609 GB, free: 24.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.001516/0.7122, allocations: 0.9223 MB / 0.5618 GB, free: 24.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.7122, allocations: 84.95 kB / 0.5619 GB, free: 24.37 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003788/0.7126, allocations: 436.7 kB / 0.5623 GB, free: 24.24 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.7126, allocations: 36.42 kB / 0.5623 GB, free: 24.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.7128, allocations: 446.5 kB / 0.5627 GB, free: 23.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.7129, allocations: 171.6 kB / 0.5629 GB, free: 23.83 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.726e-05/0.7129, allocations: 15.31 kB / 0.5629 GB, free: 23.83 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.031e-05/0.713, allocations: 370.7 kB / 0.5633 GB, free: 23.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002696/0.7133, allocations: 234.4 kB / 0.5635 GB, free: 23.51 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003934/0.7137, allocations: 0.6094 MB / 0.5641 GB, free: 23.01 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003904/0.7141, allocations: 365.2 kB / 0.5644 GB, free: 22.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.7141, allocations: 7.922 kB / 0.5644 GB, free: 22.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001002/0.7151, allocations: 0.8844 MB / 0.5653 GB, free: 22.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.7152, allocations: 11.75 kB / 0.5653 GB, free: 22.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.7152, allocations: 15.91 kB / 0.5653 GB, free: 22.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.793e-05/0.7152, allocations: 23.38 kB / 0.5654 GB, free: 22.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006197/0.7158, allocations: 201.8 kB / 0.5656 GB, free: 22.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.339e-05/0.7159, allocations: 31.31 kB / 0.5656 GB, free: 22.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004236/0.7163, allocations: 49.62 kB / 0.5656 GB, free: 22.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.972e-05/0.7164, allocations: 42.22 kB / 0.5657 GB, free: 22.79 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 95 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001239/0.7165, allocations: 162.1 kB / 0.5658 GB, free: 22.65 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.11e-05/0.7166, allocations: 62.67 kB / 0.5659 GB, free: 22.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008367/0.7174, allocations: 0.5418 MB / 0.5664 GB, free: 22.56 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.432e-05/0.7174, allocations: 14.67 kB / 0.5664 GB, free: 22.56 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.7175, allocations: 0 / 0.5664 GB, free: 22.56 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.7175, allocations: 1.219 kB / 0.5664 GB, free: 22.56 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/0.7192, allocations: 1.331 MB / 0.5677 GB, free: 22.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.7192, allocations: 0 / 0.5677 GB, free: 22.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003864/0.7196, allocations: 109.4 kB / 0.5678 GB, free: 22.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.7196, allocations: 4.062 kB / 0.5678 GB, free: 22.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.966e-05/0.7196, allocations: 22.94 kB / 0.5679 GB, free: 22.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.7196, allocations: 6.859 kB / 0.5679 GB, free: 22.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.7197, allocations: 7.891 kB / 0.5679 GB, free: 22.15 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000693/0.7204, allocations: 0.7641 MB / 0.5686 GB, free: 21.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.629e-05/0.7205, allocations: 124 kB / 0.5687 GB, free: 21.63 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.956e-05/0.7205, allocations: 13.94 kB / 0.5688 GB, free: 21.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/0.7208, allocations: 25.47 kB / 0.5688 GB, free: 21.63 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.927e-05/0.7209, allocations: 39.06 kB / 0.5688 GB, free: 21.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.707e-05/0.7209, allocations: 11.72 kB / 0.5688 GB, free: 21.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002689/0.7212, allocations: 332.2 kB / 0.5691 GB, free: 21.53 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7212, allocations: 0 / 0.5691 GB, free: 21.53 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000674/0.7219, allocations: 182 kB / 0.5693 GB, free: 21.52 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009429/0.7228, allocations: 1.969 MB / 0.5712 GB, free: 19.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007458/0.7236, allocations: 0.6182 MB / 0.5718 GB, free: 19.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.7236, allocations: 8 kB / 0.5718 GB, free: 19.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002771/0.7239, allocations: 246.9 kB / 0.5721 GB, free: 19.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004863/0.7244, allocations: 96.03 kB / 0.5722 GB, free: 19.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.7264, allocations: 1.255 MB / 0.5734 GB, free: 19.49 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000408/0.7269, allocations: 1.018 MB / 0.5744 GB, free: 18.79 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005064/0.7274, allocations: 220.1 kB / 0.5746 GB, free: 18.76 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002596/0.7276, allocations: 255.5 kB / 0.5748 GB, free: 18.75 MB / 378.7 MB Notification: Performance of SimCode: time 6.21e-07/0.7277, allocations: 0 / 0.5748 GB, free: 18.75 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02145/0.7491, allocations: 10.82 MB / 0.5854 GB, free: 15.65 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001415/0.7493, allocations: 151.5 kB / 0.5856 GB, free: 15.42 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.175/2.925, allocations: 0 / 0.5856 GB, free: 15.42 MB / 378.7 MB (rm -f PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Units.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Units.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_Units_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_Units.fmu > PowerSystems_PowerSystems.Examples.Introductory.Units.pipe 2>&1)