Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7875/0.7875, allocations: 133.7 MB / 148.6 MB, free: 13.64 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001281/0.00128, allocations: 178.7 kB / 180.9 MB, free: 15.08 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.723/1.723, allocations: 170.7 MB / 383.7 MB, free: 16.12 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001627/0.001627, allocations: 110 kB / 454.6 MB, free: 9.73 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1647/0.1652, allocations: 73.41 MB / 0.6812 GB, free: 5.574 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5067/0.672, allocations: 132.2 MB / 0.8103 GB, free: 15 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003263/0.6724, allocations: 93.19 kB / 0.8104 GB, free: 14.95 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/AC/OnePhase/Conversion/ACDCConverter.mo:41:5-41: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.04732/0.7197, allocations: 18.08 MB / 0.8281 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.874e-06/0.7198, allocations: 4 kB / 0.8281 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.073e-05/0.7198, allocations: 8 kB / 0.8281 GB, free: 13.23 MB / 0.5105 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.001253/0.7211, allocations: 0.5481 MB / 0.8286 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.909e-05/0.7211, allocations: 12.02 kB / 0.8286 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009899/0.7221, allocations: 111 kB / 0.8287 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004615/0.7226, allocations: 258.6 kB / 0.829 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.851e-05/0.7226, allocations: 20.44 kB / 0.829 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.504e-05/0.7227, allocations: 19.94 kB / 0.829 GB, free: 12.19 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006928/0.7234, allocations: 341.2 kB / 0.8293 GB, free: 11.83 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.7234, allocations: 7.984 kB / 0.8294 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.766e-05/0.7235, allocations: 11.98 kB / 0.8294 GB, free: 11.81 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.882e-05/0.7235, allocations: 28.36 kB / 0.8294 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004927/0.724, allocations: 292.4 kB / 0.8297 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002448/0.7265, allocations: 1.531 MB / 0.8312 GB, free: 9.855 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004988/0.727, allocations: 318.4 kB / 0.8315 GB, free: 9.508 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001136/0.7271, allocations: 85.11 kB / 0.8316 GB, free: 9.406 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.7272, allocations: 38.56 kB / 0.8316 GB, free: 9.359 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=16): time 2.394e-06/0.7272, allocations: 0 / 0.8316 GB, free: 9.359 MB / 0.5105 GB Notification: Performance of matching and sorting (n=23): time 0.002671/0.7299, allocations: 0.9854 MB / 0.8326 GB, free: 8.34 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/0.73, allocations: 81.25 kB / 0.8326 GB, free: 8.242 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002583/0.7302, allocations: 195.5 kB / 0.8328 GB, free: 8.043 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.7303, allocations: 29.7 kB / 0.8328 GB, free: 8.008 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.7304, allocations: 180 kB / 0.833 GB, free: 7.824 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.66e-05/0.7305, allocations: 78.91 kB / 0.8331 GB, free: 7.746 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.615e-05/0.7305, allocations: 4 kB / 0.8331 GB, free: 7.742 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.7307, allocations: 326.8 kB / 0.8334 GB, free: 7.414 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002599/0.731, allocations: 128 kB / 0.8335 GB, free: 7.289 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002495/0.7312, allocations: 217.2 kB / 0.8337 GB, free: 7.043 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000245/0.7315, allocations: 163.7 kB / 0.8339 GB, free: 6.887 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.7315, allocations: 0 / 0.8339 GB, free: 6.887 MB / 0.5105 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000933/0.7324, allocations: 0.508 MB / 0.8344 GB, free: 6.359 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.7324, allocations: 4.312 kB / 0.8344 GB, free: 6.355 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.7325, allocations: 8 kB / 0.8344 GB, free: 6.348 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005473/0.733, allocations: 147.3 kB / 0.8345 GB, free: 6.191 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002621/0.7333, allocations: 55.91 kB / 0.8346 GB, free: 6.137 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003237/0.7365, allocations: 3.989 MB / 0.8385 GB, free: 1.828 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/0.7368, allocations: 19.89 kB / 0.8385 GB, free: 1.809 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/0.7368, allocations: 19.98 kB / 0.8385 GB, free: 1.789 MB / 0.5105 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.0002175/0.7371, allocations: 157.7 kB / 0.8387 GB, free: 1.625 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.928e-05/0.7372, allocations: 27.95 kB / 0.8387 GB, free: 1.598 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008913/0.7381, allocations: 478.4 kB / 0.8392 GB, free: 1.113 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.7381, allocations: 8 kB / 0.8392 GB, free: 1.105 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.7381, allocations: 0 / 0.8392 GB, free: 1.105 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.7381, allocations: 3.953 kB / 0.8392 GB, free: 1.102 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001773/0.7399, allocations: 0.9981 MB / 0.8401 GB, free: 12 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.7399, allocations: 4 kB / 0.8401 GB, free: 8 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001648/0.7401, allocations: 32.03 kB / 0.8402 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004987/0.7406, allocations: 147.6 kB / 0.8403 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.709e-05/0.7406, allocations: 8 kB / 0.8403 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003123/0.7437, allocations: 3.973 MB / 0.8442 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/0.7438, allocations: 4.031 kB / 0.8442 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.7448, allocations: 0.7312 MB / 0.8449 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002233/0.7451, allocations: 128.8 kB / 0.845 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.622e-05/0.7451, allocations: 11.98 kB / 0.8451 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002643/0.7454, allocations: 23.94 kB / 0.8451 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.102e-05/0.7455, allocations: 27.91 kB / 0.8451 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.298e-05/0.7455, allocations: 8 kB / 0.8451 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001882/0.7457, allocations: 152.2 kB / 0.8453 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7457, allocations: 0 / 0.8453 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006559/0.7464, allocations: 107.9 kB / 0.8454 GB, free: 10.21 MB / 0.5261 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.0003058/0.7467, allocations: 143 kB / 0.8455 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000996/0.7477, allocations: 0.5534 MB / 0.846 GB, free: 9.484 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.7477, allocations: 4 kB / 0.846 GB, free: 9.48 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005219/0.7482, allocations: 394.3 kB / 0.8464 GB, free: 9.07 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/0.7486, allocations: 43.86 kB / 0.8465 GB, free: 9.027 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.7499, allocations: 0.7466 MB / 0.8472 GB, free: 8.242 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004909/0.7504, allocations: 0.7871 MB / 0.848 GB, free: 7.43 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002033/0.7506, allocations: 54.25 kB / 0.848 GB, free: 7.375 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.576e-05/0.7507, allocations: 23.44 kB / 0.848 GB, free: 7.352 MB / 0.5261 GB Notification: Performance of SimCode: time 4.91e-07/0.7507, allocations: 0 / 0.848 GB, free: 7.352 MB / 0.5261 GB Notification: Performance of Templates: time 0.008555/0.7593, allocations: 3.847 MB / 0.8518 GB, free: 3.535 MB / 0.5261 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)