Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.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.AC3ph.Inverters.InverterToLoad,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterToLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterToLoad",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.001699/0.001699, allocations: 182.7 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.985/1.985, allocations: 194.2 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.00193/0.001931, allocations: 120.7 kB / 253.5 MB, free: 9.586 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.2063/0.2063, allocations: 37.91 MB / 336.4 MB, free: 14.26 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.915e-05/3.921e-05, allocations: 7.938 kB / 397.6 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3379, allocations: 53.22 MB / 450.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4812/0.8191, allocations: 107.7 MB / 0.5455 GB, free: 29.05 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/0.8195, allocations: 92.91 kB / 0.5456 GB, free: 29.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0774/0.8969, allocations: 28.16 MB / 0.5731 GB, free: 22.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.8969, allocations: 3.938 kB / 0.5731 GB, free: 22.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.614e-05/0.897, allocations: 25.94 kB / 0.5731 GB, free: 22.31 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.00403/0.901, allocations: 1.635 MB / 0.5747 GB, free: 21.28 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/0.9011, allocations: 11.72 kB / 0.5747 GB, free: 21.27 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003547/0.9015, allocations: 171.4 kB / 0.5749 GB, free: 21.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007423/0.9022, allocations: 155.9 kB / 0.575 GB, free: 21.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005086/0.9073, allocations: 1.649 MB / 0.5766 GB, free: 20.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006838/0.9081, allocations: 0.5151 MB / 0.5771 GB, free: 20 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005016/0.9086, allocations: 93.2 kB / 0.5772 GB, free: 20 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002857/0.9114, allocations: 1.764 MB / 0.5789 GB, free: 19.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.144e-05/0.9115, allocations: 0 / 0.5789 GB, free: 19.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001334/0.9116, allocations: 32.25 kB / 0.579 GB, free: 19.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001904/0.9118, allocations: 87.39 kB / 0.5791 GB, free: 19.49 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002626/0.9145, allocations: 1.811 MB / 0.5808 GB, free: 19.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01041/0.9249, allocations: 5.763 MB / 0.5865 GB, free: 16.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002131/0.9271, allocations: 1.306 MB / 0.5877 GB, free: 16.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00129/0.9284, allocations: 0.9614 MB / 0.5887 GB, free: 16.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001304/0.9286, allocations: 12.03 kB / 0.5887 GB, free: 16.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001796/0.9304, allocations: 1.159 MB / 0.5898 GB, free: 16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=125): time 6.452e-06/0.9304, allocations: 0 / 0.5898 GB, free: 16 MB / 378.7 MB Notification: Performance of matching and sorting (n=126): time 0.006821/0.9372, allocations: 3.829 MB / 0.5935 GB, free: 14.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.769e-05/0.9373, allocations: 100.5 kB / 0.5936 GB, free: 14.81 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005648/0.9379, allocations: 439.3 kB / 0.5941 GB, free: 14.65 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000128/0.938, allocations: 59.62 kB / 0.5941 GB, free: 14.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00025/0.9383, allocations: 360.1 kB / 0.5945 GB, free: 14.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003164/0.9386, allocations: 427.3 kB / 0.5949 GB, free: 14.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.006e-05/0.9387, allocations: 18 kB / 0.5949 GB, free: 14.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.9388, allocations: 394.7 kB / 0.5953 GB, free: 13.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001118/0.94, allocations: 0.9001 MB / 0.5961 GB, free: 13.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001325/0.9413, allocations: 1.046 MB / 0.5972 GB, free: 13.44 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/0.9425, allocations: 0.946 MB / 0.5981 GB, free: 13.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.9425, allocations: 0 / 0.5981 GB, free: 13.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.008475/0.951, allocations: 3.808 MB / 0.6018 GB, free: 10.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.395e-05/0.9511, allocations: 61.67 kB / 0.6019 GB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.9512, allocations: 4 kB / 0.6019 GB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004216/0.9554, allocations: 1.68 MB / 0.6035 GB, free: 8.957 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000927/0.9563, allocations: 171.7 kB / 0.6037 GB, free: 8.789 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01706/0.9734, allocations: 10.88 MB / 0.6143 GB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/0.9753, allocations: 203.8 kB / 0.6145 GB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002619/0.9756, allocations: 59.95 kB / 0.6145 GB, free: 13.41 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition3,$whenCondition2,$whenCondition1,system.initime,$PRE.inverter.modulator.gates[1],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[4],$PRE.inverter.modulator.gates[5],inverter.modulator.gates[5],$PRE.inverter.modulator.gates[6],inverter.modulator.gates[6],$PRE.inverter.modulator.sigdel_t[1],inverter.modulator.sigdel_t[1],$PRE.inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[2],$PRE.inverter.modulator.sigdel_t[3],inverter.modulator.sigdel_t[3],$PRE.inverter.modulator.t0[1],inverter.modulator.t0[1],$PRE.inverter.modulator.t0[2],inverter.modulator.t0[2],$PRE.inverter.modulator.t0[3],inverter.modulator.t0[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 97 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {6 20} Notification: Performance of prepare postOptimizeDAE: time 0.0004896/0.9761, allocations: 196.6 kB / 0.6147 GB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002762/0.9764, allocations: 82.98 kB / 0.6148 GB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004219/0.9806, allocations: 2.013 MB / 0.6168 GB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.47e-05/0.9807, allocations: 31.98 kB / 0.6168 GB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.9807, allocations: 4 kB / 0.6168 GB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.454e-05/0.9808, allocations: 4.109 kB / 0.6168 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007594/0.9884, allocations: 3.758 MB / 0.6205 GB, free: 7.211 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.238e-05/0.9884, allocations: 0 / 0.6205 GB, free: 7.211 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01207/1.001, allocations: 2.829 MB / 0.6232 GB, free: 4.379 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001975/1.001, allocations: 40.83 kB / 0.6233 GB, free: 4.336 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000457/1.001, allocations: 31.97 kB / 0.6233 GB, free: 4.305 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001499/1.003, allocations: 1.478 MB / 0.6248 GB, free: 2.688 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/1.003, allocations: 4.094 kB / 0.6248 GB, free: 2.684 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005958/1.009, allocations: 3.425 MB / 0.6281 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009471/1.01, allocations: 355.8 kB / 0.6285 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004353/1.01, allocations: 83.95 kB / 0.6285 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001834/1.012, allocations: 243.7 kB / 0.6288 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005427/1.013, allocations: 188.7 kB / 0.6289 GB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000169/1.013, allocations: 42.94 kB / 0.629 GB, free: 14.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006301/1.013, allocations: 341.5 kB / 0.6293 GB, free: 13.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/1.013, allocations: 192 / 0.6293 GB, free: 13.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001998/1.015, allocations: 375.9 kB / 0.6297 GB, free: 13.53 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (meterDC.pav,meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],pqLoad.psi[1],pqLoad.psi[2],pqLoad.psi[3],pqLoad.Z[1],pqLoad.Z[2]) * Number of discrete variables: 16 ($whenCondition3,$whenCondition2,$whenCondition1,system.initime,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.sigdel_t[1],inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[3],inverter.modulator.t0[1],inverter.modulator.t0[2],inverter.modulator.t0[3]) * Number of discrete states: 12 (inverter.modulator.t0[3],inverter.modulator.sigdel_t[3],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.t0[2],inverter.modulator.sigdel_t[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.t0[1],inverter.modulator.sigdel_t[1],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 91 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007004/1.023, allocations: 4.73 MB / 0.6343 GB, free: 8.703 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005706/1.028, allocations: 2.728 MB / 0.637 GB, free: 5.926 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/1.028, allocations: 0 / 0.637 GB, free: 5.926 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0062/1.035, allocations: 2.093 MB / 0.639 GB, free: 3.824 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00154/1.036, allocations: 155.5 kB / 0.6391 GB, free: 3.676 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009666/1.046, allocations: 3.218 MB / 0.6423 GB, free: 404 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001336/1.047, allocations: 1.167 MB / 0.6434 GB, free: 15.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001624/1.049, allocations: 314.8 kB / 0.6437 GB, free: 14.89 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000951/1.05, allocations: 335.2 kB / 0.644 GB, free: 14.56 MB / 426.7 MB Notification: Performance of SimCode: time 1.453e-06/1.05, allocations: 0 / 0.644 GB, free: 14.56 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06495/1.115, allocations: 30.55 MB / 0.6739 GB, free: 15.96 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002234/1.115, allocations: 186.5 kB / 0.6741 GB, free: 15.74 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.025/4.14, allocations: 3.938 kB / 0.6741 GB, free: 15.73 MB / 458.7 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterToLoad_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-05 PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterToLoad.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe 2>&1)