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.436/1.436, allocations: 249.5 MB / 257 MB, free: 6.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.001382/0.001382, allocations: 172.8 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.511/1.511, allocations: 205.3 MB / 0.5671 GB, free: 15.87 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.0008298/0.0008299, allocations: 89.11 kB / 0.6714 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.018e-05/2e-05, allocations: 7.984 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1763, allocations: 106.3 MB / 0.8853 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6946/0.871, allocations: 162.3 MB / 1.044 GB, free: 9.605 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/0.8713, allocations: 88.89 kB / 1.044 GB, free: 9.562 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.0438/0.9151, allocations: 18.08 MB / 1.062 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9152, allocations: 0 / 1.062 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.808e-05/0.9152, allocations: 8 kB / 1.062 GB, free: 10.65 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.0007681/0.916, allocations: 0.5217 MB / 1.062 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.916, allocations: 12.03 kB / 1.062 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008514/0.9169, allocations: 106.6 kB / 1.062 GB, free: 9.988 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003723/0.9172, allocations: 255.5 kB / 1.062 GB, free: 9.719 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.9173, allocations: 11.94 kB / 1.062 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.579e-05/0.9173, allocations: 12 kB / 1.062 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003729/0.9177, allocations: 228.3 kB / 1.063 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004457/0.9181, allocations: 317 kB / 1.063 GB, free: 9.297 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.9182, allocations: 3.938 kB / 1.063 GB, free: 9.293 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.872e-05/0.9182, allocations: 4 kB / 1.063 GB, free: 9.289 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.739e-05/0.9183, allocations: 19.92 kB / 1.063 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002004/0.9203, allocations: 1.691 MB / 1.065 GB, free: 7.617 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004292/0.9207, allocations: 317.7 kB / 1.065 GB, free: 7.34 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.9208, allocations: 101.4 kB / 1.065 GB, free: 7.266 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001051/0.921, allocations: 81.11 kB / 1.065 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.921, allocations: 38.55 kB / 1.065 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=16): time 1.482e-06/0.921, allocations: 0 / 1.065 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23): time 0.001654/0.9227, allocations: 0.6857 MB / 1.066 GB, free: 6.562 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.489e-05/0.9227, allocations: 85.28 kB / 1.066 GB, free: 6.461 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.9229, allocations: 179.3 kB / 1.066 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.715e-05/0.923, allocations: 25.7 kB / 1.066 GB, free: 6.27 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.008e-05/0.9231, allocations: 165.7 kB / 1.066 GB, free: 6.121 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.095e-05/0.9231, allocations: 89.53 kB / 1.066 GB, free: 6.043 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.456e-05/0.9232, allocations: 96 / 1.066 GB, free: 6.043 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.9233, allocations: 329.3 kB / 1.067 GB, free: 5.719 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.9235, allocations: 133.1 kB / 1.067 GB, free: 5.637 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002125/0.9237, allocations: 199 kB / 1.067 GB, free: 5.461 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003605/0.9241, allocations: 187.6 kB / 1.067 GB, free: 5.336 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.9241, allocations: 0 / 1.067 GB, free: 5.336 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009134/0.925, allocations: 0.4968 MB / 1.068 GB, free: 4.938 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.925, allocations: 7.938 kB / 1.068 GB, free: 4.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.006e-05/0.925, allocations: 4.312 kB / 1.068 GB, free: 4.926 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004169/0.9255, allocations: 131.5 kB / 1.068 GB, free: 4.809 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000257/0.9257, allocations: 63.39 kB / 1.068 GB, free: 4.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002821/0.9286, allocations: 3.847 MB / 1.072 GB, free: 0.8398 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000211/0.9288, allocations: 20.03 kB / 1.072 GB, free: 0.8203 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.9288, allocations: 11.44 kB / 1.072 GB, free: 0.8125 MB / 0.6823 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.idealACDCConverter1.P_n[1]:DUMMY_DER(fixed = false ) "Power transmitted at pin n (primary)" type: Real [2] 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.0001607/0.929, allocations: 112.9 kB / 1.072 GB, free: 0.6953 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008354/0.9298, allocations: 431.3 kB / 1.072 GB, free: 368 kB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.914e-05/0.9299, allocations: 19.77 kB / 1.072 GB, free: 348 kB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000929/0.9308, allocations: 475.3 kB / 1.073 GB, free: 15.97 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.9309, allocations: 4 kB / 1.073 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.9309, allocations: 3.953 kB / 1.073 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.9309, allocations: 4 kB / 1.073 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001605/0.9325, allocations: 0.9392 MB / 1.074 GB, free: 15.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.9325, allocations: 4 kB / 1.074 GB, free: 15.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/0.9327, allocations: 35.3 kB / 1.074 GB, free: 15.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004085/0.9331, allocations: 130.5 kB / 1.074 GB, free: 14.97 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/0.9331, allocations: 7.938 kB / 1.074 GB, free: 14.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002806/0.9359, allocations: 3.842 MB / 1.077 GB, free: 11.05 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.757e-06/0.9359, allocations: 7.938 kB / 1.077 GB, free: 11.04 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.937, allocations: 0.7251 MB / 1.078 GB, free: 10.32 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/0.9371, allocations: 134.4 kB / 1.078 GB, free: 10.18 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.145e-05/0.9372, allocations: 4 kB / 1.078 GB, free: 10.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/0.9374, allocations: 11.98 kB / 1.078 GB, free: 10.16 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.731e-05/0.9374, allocations: 35.36 kB / 1.078 GB, free: 10.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.9375, allocations: 8 kB / 1.078 GB, free: 10.12 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001296/0.9376, allocations: 144.1 kB / 1.078 GB, free: 10.01 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9376, allocations: 0 / 1.078 GB, free: 10.01 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005507/0.9382, allocations: 87.94 kB / 1.079 GB, free: 9.922 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.001515/0.9397, allocations: 1.923 MB / 1.08 GB, free: 8.012 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007955/0.9405, allocations: 0.5229 MB / 1.081 GB, free: 7.57 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.9405, allocations: 8.125 kB / 1.081 GB, free: 7.562 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004765/0.941, allocations: 373.7 kB / 1.081 GB, free: 7.223 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.9414, allocations: 30.47 kB / 1.081 GB, free: 7.199 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.9425, allocations: 0.5298 MB / 1.082 GB, free: 6.672 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004115/0.9429, allocations: 0.7936 MB / 1.083 GB, free: 5.863 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001809/0.9431, allocations: 62.02 kB / 1.083 GB, free: 5.805 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.959e-05/0.9432, allocations: 67.05 kB / 1.083 GB, free: 5.781 MB / 0.698 GB Notification: Performance of SimCode: time 2.6e-07/0.9432, allocations: 0 / 1.083 GB, free: 5.781 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02456/0.9678, allocations: 5.652 MB / 1.088 GB, free: 172 kB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002227/0.968, allocations: 160.2 kB / 1.088 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.666/2.635, allocations: 0 / 1.088 GB, free: 15.97 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)