Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.482/1.482, allocations: 249.3 MB / 261.9 MB, free: 5.867 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001193/0.001193, allocations: 172.6 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.484/1.484, allocations: 205.2 MB / 0.572 GB, free: 10.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008935/0.0008933, allocations: 82.48 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.418e-05/3.419e-05, allocations: 0 / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.2392, allocations: 106.3 MB / 0.8919 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7888/1.028, allocations: 162 MB / 1.05 GB, free: 6.98 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/1.028, allocations: 93.92 kB / 1.05 GB, free: 6.93 MB / 0.6667 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Electrical/AC/OnePhase/Conversion/ACDCConverter.mo:43:5-43:39:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.root(terminal_p.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.04549/1.074, allocations: 18.14 MB / 1.068 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.844e-06/1.074, allocations: 0 / 1.068 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.181e-05/1.074, allocations: 8 kB / 1.068 GB, free: 7.844 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009043/1.075, allocations: 0.5204 MB / 1.068 GB, free: 7.293 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.35e-05/1.075, allocations: 12.03 kB / 1.068 GB, free: 7.281 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.623e-05/1.075, allocations: 60.72 kB / 1.068 GB, free: 7.227 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009083/1.076, allocations: 107.6 kB / 1.069 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004368/1.076, allocations: 258.7 kB / 1.069 GB, free: 6.848 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/1.076, allocations: 19.23 kB / 1.069 GB, free: 6.836 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.647e-05/1.076, allocations: 14.88 kB / 1.069 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005747/1.077, allocations: 346.2 kB / 1.069 GB, free: 6.559 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/1.077, allocations: 3.938 kB / 1.069 GB, free: 6.555 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.066e-05/1.077, allocations: 7.812 kB / 1.069 GB, free: 6.551 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.124e-05/1.077, allocations: 24.11 kB / 1.069 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004564/1.078, allocations: 284.1 kB / 1.07 GB, free: 6.34 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002367/1.08, allocations: 1.753 MB / 1.071 GB, free: 4.625 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000493/1.081, allocations: 317.8 kB / 1.072 GB, free: 4.348 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/1.081, allocations: 97.5 kB / 1.072 GB, free: 4.277 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/1.081, allocations: 96.14 kB / 1.072 GB, free: 4.168 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/1.081, allocations: 34.5 kB / 1.072 GB, free: 4.125 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=16): time 2.214e-06/1.081, allocations: 0 / 1.072 GB, free: 4.125 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23): time 0.002252/1.083, allocations: 0.8009 MB / 1.073 GB, free: 3.457 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/1.083, allocations: 77.3 kB / 1.073 GB, free: 3.363 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/1.083, allocations: 198.3 kB / 1.073 GB, free: 3.188 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/1.083, allocations: 33.33 kB / 1.073 GB, free: 3.152 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/1.084, allocations: 167.8 kB / 1.073 GB, free: 3.004 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.753e-05/1.084, allocations: 88.61 kB / 1.073 GB, free: 2.926 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.539e-05/1.084, allocations: 10.38 kB / 1.073 GB, free: 2.922 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001409/1.084, allocations: 325.1 kB / 1.073 GB, free: 2.602 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001896/1.084, allocations: 127.3 kB / 1.073 GB, free: 2.523 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002378/1.084, allocations: 207.2 kB / 1.074 GB, free: 2.34 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002416/1.084, allocations: 173.2 kB / 1.074 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/1.084, allocations: 3.938 kB / 1.074 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008192/1.085, allocations: 0.4978 MB / 1.074 GB, free: 1.832 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/1.085, allocations: 4 kB / 1.074 GB, free: 1.828 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/1.085, allocations: 4 kB / 1.074 GB, free: 1.824 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005031/1.086, allocations: 151.7 kB / 1.075 GB, free: 1.688 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002519/1.086, allocations: 59.03 kB / 1.075 GB, free: 1.633 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003023/1.089, allocations: 3.945 MB / 1.078 GB, free: 13.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002637/1.089, allocations: 30.39 kB / 1.078 GB, free: 13.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/1.089, allocations: 12 kB / 1.078 GB, free: 13.56 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001589/1.09, allocations: 126.4 kB / 1.079 GB, free: 13.44 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.315e-05/1.09, allocations: 15.81 kB / 1.079 GB, free: 13.42 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000991/1.091, allocations: 477.1 kB / 1.079 GB, free: 13.07 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/1.091, allocations: 4 kB / 1.079 GB, free: 13.06 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/1.091, allocations: 0 / 1.079 GB, free: 13.06 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/1.091, allocations: 3.984 kB / 1.079 GB, free: 13.06 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001816/1.093, allocations: 0.9996 MB / 1.08 GB, free: 12.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/1.093, allocations: 0 / 1.08 GB, free: 12.17 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/1.093, allocations: 39.8 kB / 1.08 GB, free: 12.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004597/1.093, allocations: 142.4 kB / 1.08 GB, free: 12 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/1.093, allocations: 9.812 kB / 1.08 GB, free: 12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002833/1.096, allocations: 3.945 MB / 1.084 GB, free: 7.957 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/1.096, allocations: 4.25 kB / 1.084 GB, free: 7.953 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000924/1.097, allocations: 0.7275 MB / 1.085 GB, free: 7.23 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/1.097, allocations: 127.9 kB / 1.085 GB, free: 7.098 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/1.097, allocations: 11.11 kB / 1.085 GB, free: 7.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/1.098, allocations: 15.86 kB / 1.085 GB, free: 7.078 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.789e-05/1.098, allocations: 31.86 kB / 1.085 GB, free: 7.051 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/1.098, allocations: 8 kB / 1.085 GB, free: 7.043 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000141/1.098, allocations: 154.9 kB / 1.085 GB, free: 6.918 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.098, allocations: 0 / 1.085 GB, free: 6.918 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005722/1.098, allocations: 101.1 kB / 1.085 GB, free: 6.828 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001464/1.1, allocations: 1.931 MB / 1.087 GB, free: 4.918 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001045/1.101, allocations: 0.5533 MB / 1.088 GB, free: 4.441 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.101, allocations: 0 / 1.088 GB, free: 4.441 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004975/1.101, allocations: 389 kB / 1.088 GB, free: 4.082 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/1.102, allocations: 47.78 kB / 1.088 GB, free: 4.047 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/1.103, allocations: 0.5502 MB / 1.089 GB, free: 3.523 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/1.103, allocations: 0.7932 MB / 1.089 GB, free: 2.711 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001864/1.103, allocations: 58.02 kB / 1.089 GB, free: 2.648 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/1.104, allocations: 74.97 kB / 1.089 GB, free: 2.621 MB / 0.698 GB Notification: Performance of SimCode: time 6.62e-07/1.104, allocations: 0 / 1.089 GB, free: 2.621 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02025/1.124, allocations: 6.228 MB / 1.096 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001845/1.124, allocations: 192.6 kB / 1.096 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.936/3.06, allocations: 4 kB / 1.096 GB, free: 12.32 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)