Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.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.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7706/0.7706, allocations: 132.4 MB / 139.7 MB, free: 15.55 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.001797/0.001797, allocations: 170.8 kB / 171.6 MB, free: 2.023 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.503/1.503, allocations: 170.5 MB / 373.9 MB, free: 15.91 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.001708/0.001708, allocations: 100.1 kB / 444.4 MB, free: 9.445 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.5558/0.5558, allocations: 73.39 MB / 0.666 GB, free: 62.51 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2382/0.7941, allocations: 135.6 MB / 0.7984 GB, free: 0.6641 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003806/0.7946, allocations: 103.2 kB / 0.7985 GB, free: 0.5664 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.7158/1.51, allocations: 102.3 MB / 0.8985 GB, free: 142.4 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001081/1.511, allocations: 70.78 kB / 0.8985 GB, free: 142.4 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.005132/1.516, allocations: 2.487 MB / 0.901 GB, free: 141.3 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/1.516, allocations: 10.31 kB / 0.901 GB, free: 141.3 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00555/1.521, allocations: 0.8824 MB / 0.9018 GB, free: 141.2 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003476/1.525, allocations: 1.644 MB / 0.9034 GB, free: 140.8 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.379e-05/1.525, allocations: 95.22 kB / 0.9035 GB, free: 140.8 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004401/1.525, allocations: 172.3 kB / 0.9037 GB, free: 140.8 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006549/1.532, allocations: 3.747 MB / 0.9073 GB, free: 140.8 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006721/1.539, allocations: 4.425 MB / 0.9117 GB, free: 140.5 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.027e-05/1.539, allocations: 2.625 kB / 0.9117 GB, free: 140.5 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002883/1.539, allocations: 3.781 kB / 0.9117 GB, free: 140.5 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000198/1.539, allocations: 196.6 kB / 0.9119 GB, free: 140.5 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02279/1.562, allocations: 15.97 MB / 0.9275 GB, free: 135.1 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00176/1.564, allocations: 1.658 MB / 0.9291 GB, free: 135 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001198/1.565, allocations: 0.9531 MB / 0.93 GB, free: 134.9 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000167/1.565, allocations: 110.3 kB / 0.9301 GB, free: 134.8 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/1.565, allocations: 46.41 kB / 0.9302 GB, free: 134.8 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=82): time 4.719e-06/1.565, allocations: 0 / 0.9302 GB, free: 134.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=82): time 0.002921/1.568, allocations: 1.71 MB / 0.9318 GB, free: 134.7 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.421e-05/1.568, allocations: 217.7 kB / 0.932 GB, free: 134.4 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/1.57, allocations: 0.9732 MB / 0.933 GB, free: 134.3 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.169e-05/1.57, allocations: 29.89 kB / 0.933 GB, free: 134.2 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006665/1.57, allocations: 1.217 MB / 0.9342 GB, free: 133.4 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002479/1.571, allocations: 291.3 kB / 0.9345 GB, free: 133.3 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.057e-05/1.571, allocations: 0 / 0.9345 GB, free: 133.3 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001792/1.571, allocations: 402.9 kB / 0.9349 GB, free: 132.9 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001195/1.572, allocations: 0.9352 MB / 0.9358 GB, free: 132.9 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001572/1.574, allocations: 1.548 MB / 0.9373 GB, free: 132.2 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002419/1.576, allocations: 1.494 MB / 0.9388 GB, free: 132.1 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.026e-05/1.576, allocations: 7.438 kB / 0.9388 GB, free: 132.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004563/1.581, allocations: 2.736 MB / 0.9414 GB, free: 131.8 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.002188/1.583, allocations: 7.474 MB / 0.9487 GB, free: 123.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.355e-05/1.583, allocations: 19.34 kB / 0.9487 GB, free: 123.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.644e-05/1.583, allocations: 32.94 kB / 0.9488 GB, free: 123.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001797/1.585, allocations: 434.5 kB / 0.9492 GB, free: 123.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.133e-05/1.585, allocations: 42.19 kB / 0.9492 GB, free: 123.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001778/1.587, allocations: 257.5 kB / 0.9495 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001897/1.587, allocations: 86.58 kB / 0.9496 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/1.587, allocations: 7.906 kB / 0.9496 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003946/1.591, allocations: 2.421 MB / 0.9519 GB, free: 123 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.367e-05/1.591, allocations: 19.12 kB / 0.952 GB, free: 123 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.788e-05/1.591, allocations: 30.88 kB / 0.952 GB, free: 123 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/1.593, allocations: 423.7 kB / 0.9524 GB, free: 123 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.874e-05/1.593, allocations: 39 kB / 0.9524 GB, free: 123 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/1.594, allocations: 187.4 kB / 0.9526 GB, free: 122.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001876/1.594, allocations: 77.73 kB / 0.9527 GB, free: 122.9 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (197): * Single equations (assignments): 197 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003592/1.595, allocations: 158.2 kB / 0.9528 GB, free: 122.8 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004568/1.595, allocations: 99.47 kB / 0.9529 GB, free: 122.7 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002847/1.598, allocations: 1.794 MB / 0.9547 GB, free: 122.1 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.98e-05/1.598, allocations: 15.36 kB / 0.9547 GB, free: 122.1 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/1.598, allocations: 0 / 0.9547 GB, free: 122.1 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.557e-05/1.598, allocations: 7.641 kB / 0.9547 GB, free: 122.1 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009339/1.607, allocations: 3.837 MB / 0.9584 GB, free: 120.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/1.607, allocations: 3.438 kB / 0.9584 GB, free: 120.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001174/1.609, allocations: 212.2 kB / 0.9586 GB, free: 120.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.719e-05/1.609, allocations: 4.719 kB / 0.9587 GB, free: 120.7 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.294e-05/1.609, allocations: 11.28 kB / 0.9587 GB, free: 120.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.068e-05/1.609, allocations: 9.188 kB / 0.9587 GB, free: 120.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/1.609, allocations: 5.844 kB / 0.9587 GB, free: 120.7 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003371/1.612, allocations: 2.244 MB / 0.9609 GB, free: 119.4 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009297/1.613, allocations: 373.1 kB / 0.9612 GB, free: 119.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003972/1.614, allocations: 7.703 kB / 0.9612 GB, free: 119.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001249/1.615, allocations: 84.48 kB / 0.9613 GB, free: 119.2 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001641/1.615, allocations: 50.55 kB / 0.9614 GB, free: 119.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.848e-05/1.615, allocations: 21.44 kB / 0.9614 GB, free: 119.2 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.001596/1.617, allocations: 0.7616 MB / 0.9621 GB, free: 118.9 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.006146/1.623, allocations: 1.262 MB / 0.9634 GB, free: 118.5 MB / 0.5886 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 (85): * Single equations (assignments): 85 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002934/1.623, allocations: 119.3 kB / 0.9635 GB, free: 118.4 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.005975/1.629, allocations: 3.156 MB / 0.9666 GB, free: 117.4 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/1.629, allocations: 0 / 0.9666 GB, free: 117.4 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001143/1.63, allocations: 0.7545 MB / 0.9673 GB, free: 117.2 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001572/1.632, allocations: 151 kB / 0.9674 GB, free: 117.2 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01087/1.643, allocations: 3.924 MB / 0.9713 GB, free: 115.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004341/1.647, allocations: 2.378 MB / 0.9736 GB, free: 114.7 MB / 0.5886 GB Notification: Performance of SimCode: time 1.583e-06/1.647, allocations: 0 / 0.9736 GB, free: 114.7 MB / 0.5886 GB Notification: Performance of Templates: time 0.06074/1.708, allocations: 25.1 MB / 0.9981 GB, free: 109.6 MB / 0.5886 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)