Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.572/2.572, allocations: 284.9 MB / 292.4 MB, free: 10.56 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003687/0.003687, allocations: 180.9 kB / 360.6 MB, free: 7.301 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.124/2.124, allocations: 205.3 MB / 0.6191 GB, free: 12.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00103/0.00103, allocations: 90.23 kB / 0.7321 GB, free: 44.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.018e-05/3.035e-05, allocations: 7.984 kB / 0.8509 GB, free: 3.367 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8312/0.8313, allocations: 115.3 MB / 0.9634 GB, free: 78.44 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2838/1.115, allocations: 167.6 MB / 1.127 GB, free: 4.824 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003391/1.116, allocations: 87.94 kB / 1.127 GB, free: 4.738 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.07739/1.193, allocations: 17.8 MB / 1.145 GB, free: 2.891 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.074e-06/1.193, allocations: 0 / 1.145 GB, free: 2.891 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.471e-05/1.193, allocations: 4 kB / 1.145 GB, free: 2.887 MB / 0.7448 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.001186/1.194, allocations: 0.5219 MB / 1.145 GB, free: 2.32 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.889e-05/1.194, allocations: 12.03 kB / 1.145 GB, free: 2.309 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001404/1.196, allocations: 112.8 kB / 1.145 GB, free: 2.199 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000588/1.196, allocations: 272.3 kB / 1.145 GB, free: 1.895 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/1.196, allocations: 4 kB / 1.145 GB, free: 1.891 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.363e-05/1.196, allocations: 12 kB / 1.145 GB, free: 1.879 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006728/1.197, allocations: 228.9 kB / 1.146 GB, free: 1.656 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007345/1.198, allocations: 317.3 kB / 1.146 GB, free: 1.324 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/1.198, allocations: 0 / 1.146 GB, free: 1.324 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.978e-05/1.198, allocations: 4 kB / 1.146 GB, free: 1.32 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.181e-05/1.198, allocations: 28.41 kB / 1.146 GB, free: 1.289 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003426/1.201, allocations: 1.688 MB / 1.148 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007419/1.202, allocations: 310.2 kB / 1.148 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002253/1.203, allocations: 98.72 kB / 1.148 GB, free: 15 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001654/1.203, allocations: 89.09 kB / 1.148 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/1.203, allocations: 38.5 kB / 1.148 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=16): time 2.805e-06/1.203, allocations: 0 / 1.148 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of matching and sorting (n=23): time 0.002766/1.206, allocations: 0.683 MB / 1.149 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/1.206, allocations: 77.3 kB / 1.149 GB, free: 14.06 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002852/1.206, allocations: 175.3 kB / 1.149 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.151e-05/1.206, allocations: 25.7 kB / 1.149 GB, free: 13.85 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000139/1.206, allocations: 171.8 kB / 1.149 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 9.301e-05/1.206, allocations: 78.84 kB / 1.149 GB, free: 13.6 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.193e-05/1.206, allocations: 4 kB / 1.149 GB, free: 13.6 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001582/1.206, allocations: 336.8 kB / 1.15 GB, free: 13.26 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002947/1.207, allocations: 124 kB / 1.15 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003555/1.207, allocations: 195.8 kB / 1.15 GB, free: 12.92 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006907/1.208, allocations: 187.9 kB / 1.15 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/1.208, allocations: 0 / 1.15 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001698/1.21, allocations: 0.5006 MB / 1.151 GB, free: 12.22 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/1.21, allocations: 4 kB / 1.151 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/1.21, allocations: 4 kB / 1.151 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006428/1.21, allocations: 131.7 kB / 1.151 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004705/1.211, allocations: 66.83 kB / 1.151 GB, free: 12.01 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004335/1.215, allocations: 3.847 MB / 1.155 GB, free: 7.883 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003952/1.216, allocations: 12.23 kB / 1.155 GB, free: 7.871 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-05/1.216, allocations: 19.98 kB / 1.155 GB, free: 7.852 MB / 0.7605 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.0002211/1.216, allocations: 121.2 kB / 1.155 GB, free: 7.73 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001456/1.217, allocations: 429 kB / 1.155 GB, free: 7.297 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/1.217, allocations: 31.67 kB / 1.155 GB, free: 7.266 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001505/1.219, allocations: 458.5 kB / 1.156 GB, free: 6.801 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.609e-06/1.219, allocations: 5.688 kB / 1.156 GB, free: 6.797 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/1.219, allocations: 3.953 kB / 1.156 GB, free: 6.793 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/1.219, allocations: 0 / 1.156 GB, free: 6.793 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00257/1.222, allocations: 0.9445 MB / 1.157 GB, free: 5.77 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/1.222, allocations: 0 / 1.157 GB, free: 5.77 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000259/1.222, allocations: 39.92 kB / 1.157 GB, free: 5.73 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006012/1.223, allocations: 131.6 kB / 1.157 GB, free: 5.59 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.037e-05/1.223, allocations: 4 kB / 1.157 GB, free: 5.586 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004083/1.227, allocations: 3.842 MB / 1.16 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/1.227, allocations: 3.938 kB / 1.16 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/1.228, allocations: 0.7437 MB / 1.161 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002431/1.229, allocations: 128.8 kB / 1.161 GB, free: 488 kB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.412e-05/1.229, allocations: 4 kB / 1.161 GB, free: 484 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003631/1.229, allocations: 11.98 kB / 1.161 GB, free: 472 kB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.143e-05/1.229, allocations: 27.92 kB / 1.161 GB, free: 444 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.012e-05/1.229, allocations: 12 kB / 1.161 GB, free: 432 kB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002036/1.229, allocations: 148 kB / 1.161 GB, free: 284 kB / 0.7605 GB Notification: Performance of sort global known variables: time 5.21e-07/1.229, allocations: 4 kB / 1.162 GB, free: 280 kB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0008342/1.23, allocations: 85.44 kB / 1.162 GB, free: 196 kB / 0.7605 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.002477/1.233, allocations: 1.928 MB / 1.163 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001343/1.234, allocations: 0.5149 MB / 1.164 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/1.234, allocations: 4.562 kB / 1.164 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0008089/1.235, allocations: 379.3 kB / 1.164 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005306/1.236, allocations: 27.97 kB / 1.164 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/1.237, allocations: 0.5259 MB / 1.165 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005462/1.238, allocations: 0.7941 MB / 1.166 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003732/1.238, allocations: 59.45 kB / 1.166 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001862/1.239, allocations: 71.41 kB / 1.166 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of SimCode: time 1.693e-06/1.239, allocations: 0 / 1.166 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0447/1.283, allocations: 5.649 MB / 1.171 GB, free: 6.152 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003155/1.284, allocations: 143.7 kB / 1.171 GB, free: 5.961 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.583/3.867, allocations: 0 / 1.171 GB, free: 5.961 MB / 0.7761 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)