Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.704/1.704, allocations: 289.9 MB / 297.4 MB, free: 6.449 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.001044/0.001044, allocations: 184.8 kB / 366.7 MB, free: 1.684 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.578/1.578, allocations: 205.3 MB / 0.626 GB, free: 7.191 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.001043/0.001043, allocations: 81.91 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.594e-05/2.6e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.686/0.686, allocations: 116.3 MB / 0.9733 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2441/0.9302, allocations: 168.6 MB / 1.138 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000366/0.9306, allocations: 83.95 kB / 1.138 GB, free: 13.35 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.05126/0.9819, allocations: 18.07 MB / 1.156 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.322e-06/0.982, allocations: 4 kB / 1.156 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.777e-05/0.982, allocations: 8 kB / 1.156 GB, free: 11.2 MB / 0.7605 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.0008255/0.9828, allocations: 0.5218 MB / 1.156 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.9829, allocations: 12.03 kB / 1.156 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008996/0.9838, allocations: 99.61 kB / 1.156 GB, free: 10.53 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003923/0.9842, allocations: 266.5 kB / 1.157 GB, free: 10.23 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.9842, allocations: 11.94 kB / 1.157 GB, free: 10.21 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.713e-05/0.9843, allocations: 15.98 kB / 1.157 GB, free: 10.2 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003873/0.9847, allocations: 228.9 kB / 1.157 GB, free: 9.973 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000481/0.9851, allocations: 313.2 kB / 1.157 GB, free: 9.645 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.9852, allocations: 0 / 1.157 GB, free: 9.645 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.9852, allocations: 4 kB / 1.157 GB, free: 9.641 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.045e-05/0.9852, allocations: 24.42 kB / 1.157 GB, free: 9.617 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002177/0.9874, allocations: 1.683 MB / 1.159 GB, free: 7.781 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004592/0.9879, allocations: 318.4 kB / 1.159 GB, free: 7.434 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.9881, allocations: 93.69 kB / 1.159 GB, free: 7.336 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001077/0.9882, allocations: 93.09 kB / 1.159 GB, free: 7.227 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.9882, allocations: 30.56 kB / 1.159 GB, free: 7.188 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=16): time 3.396e-06/0.9882, allocations: 3.281 kB / 1.159 GB, free: 7.188 MB / 0.7605 GB Notification: Performance of matching and sorting (n=23): time 0.001664/0.9899, allocations: 0.6886 MB / 1.16 GB, free: 6.48 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.99, allocations: 81.3 kB / 1.16 GB, free: 6.383 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.9902, allocations: 183 kB / 1.16 GB, free: 6.195 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.9902, allocations: 25.7 kB / 1.16 GB, free: 6.164 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 9.657e-05/0.9903, allocations: 171.8 kB / 1.16 GB, free: 5.992 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.206e-05/0.9904, allocations: 78.84 kB / 1.161 GB, free: 5.914 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.509e-05/0.9904, allocations: 0 / 1.161 GB, free: 5.914 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.9905, allocations: 326.8 kB / 1.161 GB, free: 5.586 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.9907, allocations: 128 kB / 1.161 GB, free: 5.461 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/0.991, allocations: 198.5 kB / 1.161 GB, free: 5.234 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003891/0.9914, allocations: 189.8 kB / 1.161 GB, free: 5.051 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.9914, allocations: 0 / 1.161 GB, free: 5.051 MB / 0.7605 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009462/0.9923, allocations: 0.5029 MB / 1.162 GB, free: 4.531 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.9924, allocations: 4 kB / 1.162 GB, free: 4.527 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.9924, allocations: 4 kB / 1.162 GB, free: 4.523 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003986/0.9928, allocations: 135.4 kB / 1.162 GB, free: 4.379 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002488/0.993, allocations: 59.91 kB / 1.162 GB, free: 4.32 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002877/0.9959, allocations: 3.855 MB / 1.166 GB, free: 188 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.9961, allocations: 15.97 kB / 1.166 GB, free: 172 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/0.9962, allocations: 15.94 kB / 1.166 GB, free: 156 kB / 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.0001821/0.9964, allocations: 113.8 kB / 1.166 GB, free: 36 kB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008726/0.9973, allocations: 426.8 kB / 1.166 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.626e-05/0.9973, allocations: 27.67 kB / 1.166 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009124/0.9983, allocations: 462.8 kB / 1.167 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.9983, allocations: 4 kB / 1.167 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.9983, allocations: 5.75 kB / 1.167 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.9983, allocations: 11.94 kB / 1.167 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/0.9999, allocations: 0.9469 MB / 1.168 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.9999, allocations: 4 kB / 1.168 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/1, allocations: 27.98 kB / 1.168 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003604/1, allocations: 145.8 kB / 1.168 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/1, allocations: 9.484 kB / 1.168 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002775/1.003, allocations: 3.835 MB / 1.172 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/1.003, allocations: 4.031 kB / 1.172 GB, free: 9.758 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009397/1.004, allocations: 0.7259 MB / 1.172 GB, free: 8.926 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/1.004, allocations: 124.8 kB / 1.173 GB, free: 8.785 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.43e-05/1.004, allocations: 4 kB / 1.173 GB, free: 8.781 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/1.005, allocations: 15.98 kB / 1.173 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/1.005, allocations: 27.86 kB / 1.173 GB, free: 8.738 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/1.005, allocations: 12 kB / 1.173 GB, free: 8.727 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001386/1.005, allocations: 148 kB / 1.173 GB, free: 8.582 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.6e-07/1.005, allocations: 4 kB / 1.173 GB, free: 8.578 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005738/1.005, allocations: 91.94 kB / 1.173 GB, free: 8.488 MB / 0.7761 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.001701/1.007, allocations: 1.936 MB / 1.175 GB, free: 6.457 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0008811/1.008, allocations: 0.5117 MB / 1.175 GB, free: 5.926 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/1.008, allocations: 0 / 1.175 GB, free: 5.926 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0004784/1.009, allocations: 374 kB / 1.176 GB, free: 5.543 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/1.009, allocations: 35.97 kB / 1.176 GB, free: 5.508 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/1.01, allocations: 0.5206 MB / 1.176 GB, free: 4.926 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004379/1.011, allocations: 0.7941 MB / 1.177 GB, free: 4.109 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002049/1.011, allocations: 62.02 kB / 1.177 GB, free: 4.047 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/1.011, allocations: 71.41 kB / 1.177 GB, free: 3.977 MB / 0.7761 GB Notification: Performance of SimCode: time 3.11e-07/1.011, allocations: 3.938 kB / 1.177 GB, free: 3.973 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03444/1.045, allocations: 5.637 MB / 1.182 GB, free: 14.46 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002341/1.046, allocations: 137.8 kB / 1.183 GB, free: 14.27 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.977/3.023, allocations: 4.031 kB / 1.183 GB, free: 14.26 MB / 0.7917 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)