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.725/1.725, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.001266/0.001265, allocations: 177 kB / 377.1 MB, free: 1.527 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.861/1.861, allocations: 205.4 MB / 0.6366 GB, free: 8.625 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.00108/0.001079, allocations: 90.64 kB / 0.7509 GB, free: 63.09 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003626, allocations: 12 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3198, allocations: 116.3 MB / 0.9884 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9052/1.225, allocations: 169.3 MB / 1.154 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003133/1.225, allocations: 94.75 kB / 1.154 GB, free: 11.49 MB / 0.7292 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.04294/1.268, allocations: 18.27 MB / 1.172 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.633e-06/1.268, allocations: 0 / 1.172 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.841e-05/1.269, allocations: 15.92 kB / 1.172 GB, free: 10.73 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.0009064/1.269, allocations: 0.5473 MB / 1.172 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/1.269, allocations: 12.02 kB / 1.172 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.061e-05/1.27, allocations: 59.41 kB / 1.172 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008337/1.27, allocations: 113.7 kB / 1.172 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004087/1.271, allocations: 258.6 kB / 1.173 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/1.271, allocations: 16.44 kB / 1.173 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.255e-05/1.271, allocations: 23.42 kB / 1.173 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005537/1.271, allocations: 345.1 kB / 1.173 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/1.271, allocations: 0 / 1.173 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.224e-05/1.272, allocations: 11.98 kB / 1.173 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-05/1.272, allocations: 25.8 kB / 1.173 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004852/1.272, allocations: 289.5 kB / 1.173 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002177/1.274, allocations: 1.746 MB / 1.175 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004486/1.275, allocations: 322.1 kB / 1.175 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001053/1.275, allocations: 85.11 kB / 1.175 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/1.275, allocations: 38.56 kB / 1.176 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.292e-06/1.275, allocations: 0 / 1.176 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.002456/1.277, allocations: 0.9829 MB / 1.176 GB, free: 5.523 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/1.277, allocations: 81.3 kB / 1.177 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/1.278, allocations: 195.6 kB / 1.177 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/1.278, allocations: 29.7 kB / 1.177 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/1.278, allocations: 172.1 kB / 1.177 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.653e-05/1.278, allocations: 82.89 kB / 1.177 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.649e-05/1.278, allocations: 4 kB / 1.177 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001392/1.278, allocations: 330.8 kB / 1.177 GB, free: 4.594 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/1.278, allocations: 127.9 kB / 1.177 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/1.278, allocations: 219.5 kB / 1.178 GB, free: 4.223 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002312/1.279, allocations: 160 kB / 1.178 GB, free: 4.066 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/1.279, allocations: 3.984 kB / 1.178 GB, free: 4.062 MB / 0.7448 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008305/1.28, allocations: 0.5031 MB / 1.178 GB, free: 3.543 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/1.28, allocations: 8 kB / 1.178 GB, free: 3.535 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/1.28, allocations: 4 kB / 1.178 GB, free: 3.531 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00052/1.28, allocations: 144.3 kB / 1.178 GB, free: 3.379 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/1.28, allocations: 60.97 kB / 1.179 GB, free: 3.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002947/1.283, allocations: 3.991 MB / 1.182 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/1.284, allocations: 15.98 kB / 1.182 GB, free: 15 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/1.284, allocations: 12 kB / 1.182 GB, free: 14.98 MB / 0.7605 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 () * Number of clocked 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.0002073/1.284, allocations: 173.8 kB / 1.183 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.384e-05/1.284, allocations: 19.91 kB / 1.183 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008728/1.285, allocations: 487.8 kB / 1.183 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/1.285, allocations: 0 / 1.183 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/1.285, allocations: 4 kB / 1.183 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/1.285, allocations: 0 / 1.183 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001536/1.286, allocations: 0.9979 MB / 1.184 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/1.286, allocations: 4 kB / 1.184 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/1.286, allocations: 31.98 kB / 1.184 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004315/1.287, allocations: 153.5 kB / 1.184 GB, free: 13 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/1.287, allocations: 8 kB / 1.184 GB, free: 13 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002786/1.29, allocations: 3.975 MB / 1.188 GB, free: 8.707 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/1.29, allocations: 4.344 kB / 1.188 GB, free: 8.703 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008616/1.291, allocations: 0.7443 MB / 1.189 GB, free: 7.855 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001557/1.291, allocations: 128.7 kB / 1.189 GB, free: 7.711 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/1.291, allocations: 8 kB / 1.189 GB, free: 7.703 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/1.291, allocations: 23.97 kB / 1.189 GB, free: 7.68 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.695e-05/1.291, allocations: 23.98 kB / 1.189 GB, free: 7.656 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/1.291, allocations: 11.95 kB / 1.189 GB, free: 7.645 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001584/1.291, allocations: 157.5 kB / 1.189 GB, free: 7.492 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.4e-07/1.291, allocations: 0 / 1.189 GB, free: 7.492 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005564/1.292, allocations: 99.94 kB / 1.189 GB, free: 7.395 MB / 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 () * Number of clocked 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.001443/1.293, allocations: 1.925 MB / 1.191 GB, free: 5.375 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0008884/1.294, allocations: 0.5638 MB / 1.192 GB, free: 4.789 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.294, allocations: 0 / 1.192 GB, free: 4.789 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.000505/1.295, allocations: 393.2 kB / 1.192 GB, free: 4.379 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/1.295, allocations: 40.88 kB / 1.192 GB, free: 4.34 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00329/1.298, allocations: 3.33 MB / 1.195 GB, free: 0.8867 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/1.299, allocations: 0.7872 MB / 1.196 GB, free: 76 kB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001927/1.299, allocations: 58.23 kB / 1.196 GB, free: 20 kB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/1.299, allocations: 79.42 kB / 1.196 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of SimCode: time 1.062e-06/1.299, allocations: 0 / 1.196 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02167/1.321, allocations: 6.176 MB / 1.202 GB, free: 9.965 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002887/1.321, allocations: 207.8 kB / 1.203 GB, free: 9.727 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.936/3.257, allocations: 0 / 1.203 GB, free: 9.727 MB / 0.7761 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)