Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [/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.2396/0.2422, allocations: 80.84 MB / 0.6706 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009513/0.2518, allocations: 6.626 MB / 0.6771 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006198/0.2581, allocations: 3.235 MB / 0.6803 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006632/0.2588, allocations: 27.81 kB / 0.6803 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002588/0.2614, allocations: 0.948 MB / 0.6812 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001689/0.2631, allocations: 0.5401 MB / 0.6817 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001321/0.2644, allocations: 415.1 kB / 0.6821 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001977/0.2664, allocations: 1.213 MB / 0.6833 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001149/0.2676, allocations: 0.6622 MB / 0.684 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007232/0.2683, allocations: 470.3 kB / 0.6844 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007974/0.2691, allocations: 0.5293 MB / 0.6849 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.746e-05/0.2692, allocations: 68 kB / 0.685 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008458/0.2701, allocations: 383.2 kB / 0.6854 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002877/0.2704, allocations: 303.2 kB / 0.6857 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004505/0.2708, allocations: 437.8 kB / 0.6861 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001327/0.2722, allocations: 1.195 MB / 0.6872 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.2722, allocations: 0 / 0.6872 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.265e-06/0.2722, allocations: 0 / 0.6872 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.376e-05/0.2722, allocations: 4 kB / 0.6872 GB, free: 0.9453 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.002153/0.2744, allocations: 1.141 MB / 0.6884 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.946e-05/0.2745, allocations: 12.03 kB / 0.6884 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001576/0.2761, allocations: 239.5 kB / 0.6886 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.2772, allocations: 0.5843 MB / 0.6892 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.783e-05/0.2773, allocations: 49.69 kB / 0.6892 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.2774, allocations: 64.36 kB / 0.6893 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/0.2792, allocations: 1.077 MB / 0.6903 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.211e-05/0.2793, allocations: 11.92 kB / 0.6903 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.89e-05/0.2794, allocations: 32 kB / 0.6904 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001737/0.2795, allocations: 85.25 kB / 0.6905 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/0.2807, allocations: 0.7465 MB / 0.6912 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005539/0.2863, allocations: 4.843 MB / 0.6959 GB, free: 7.688 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.2874, allocations: 0.5641 MB / 0.6965 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004826/0.2879, allocations: 328 kB / 0.6968 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.631e-05/0.288, allocations: 4.438 kB / 0.6968 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.433e-05/0.288, allocations: 42.98 kB / 0.6968 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=47): time 3.948e-06/0.288, allocations: 0 / 0.6968 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48): time 0.004392/0.2924, allocations: 1.982 MB / 0.6988 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.739e-05/0.2925, allocations: 63.78 kB / 0.6988 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007585/0.2933, allocations: 0.5547 MB / 0.6994 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.857e-05/0.2933, allocations: 33.7 kB / 0.6994 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003486/0.2937, allocations: 415 kB / 0.6998 GB, free: 3.566 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001518/0.2939, allocations: 173.6 kB / 0.7 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002442/0.2941, allocations: 118.6 kB / 0.7001 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001873/0.2943, allocations: 374.8 kB / 0.7004 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000397/0.2947, allocations: 277.8 kB / 0.7007 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005575/0.2953, allocations: 0.4931 MB / 0.7012 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.2963, allocations: 0.8133 MB / 0.702 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.2963, allocations: 7.938 kB / 0.702 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001898/0.2982, allocations: 1.079 MB / 0.703 GB, free: 20 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.929e-05/0.2982, allocations: 14.34 kB / 0.703 GB, free: 8 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.051e-05/0.2983, allocations: 15.92 kB / 0.7031 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008424/0.2991, allocations: 275.2 kB / 0.7033 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004739/0.2996, allocations: 123.8 kB / 0.7034 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007047/0.3067, allocations: 7.13 MB / 0.7104 GB, free: 7.895 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006278/0.3073, allocations: 39.97 kB / 0.7104 GB, free: 7.855 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.958e-05/0.3074, allocations: 28.19 kB / 0.7105 GB, free: 7.828 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004089/0.3078, allocations: 245.6 kB / 0.7107 GB, free: 7.578 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.3079, allocations: 75.09 kB / 0.7108 GB, free: 7.504 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001526/0.3095, allocations: 0.8925 MB / 0.7116 GB, free: 6.59 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.3095, allocations: 4 kB / 0.7116 GB, free: 6.586 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.3095, allocations: 7.938 kB / 0.7117 GB, free: 6.578 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.3095, allocations: 3.984 kB / 0.7117 GB, free: 6.574 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002561/0.3121, allocations: 1.728 MB / 0.7133 GB, free: 4.758 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.3121, allocations: 4 kB / 0.7133 GB, free: 4.754 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002509/0.3123, allocations: 63.89 kB / 0.7134 GB, free: 4.691 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007114/0.3131, allocations: 263.3 kB / 0.7137 GB, free: 4.422 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.136e-05/0.3131, allocations: 19.88 kB / 0.7137 GB, free: 4.402 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006253/0.3194, allocations: 7.119 MB / 0.7206 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.3194, allocations: 4.031 kB / 0.7206 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/0.321, allocations: 0.9834 MB / 0.7216 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003319/0.3213, allocations: 192.2 kB / 0.7218 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.666e-05/0.3214, allocations: 12 kB / 0.7218 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003493/0.3217, allocations: 36.09 kB / 0.7218 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.3219, allocations: 43.88 kB / 0.7219 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.774e-05/0.3219, allocations: 20 kB / 0.7219 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004812/0.3224, allocations: 383.1 kB / 0.7222 GB, free: 11 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3224, allocations: 0 / 0.7222 GB, free: 11 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008355/0.3233, allocations: 216 kB / 0.7225 GB, free: 10.79 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001744/0.3235, allocations: 119.1 kB / 0.7226 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001931/0.3254, allocations: 1.275 MB / 0.7238 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.3254, allocations: 4.062 kB / 0.7238 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001189/0.3266, allocations: 0.897 MB / 0.7247 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009925/0.3276, allocations: 213.9 kB / 0.7249 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002357/0.33, allocations: 1.363 MB / 0.7262 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006272/0.3306, allocations: 1.009 MB / 0.7272 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003688/0.331, allocations: 126 kB / 0.7273 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.3311, allocations: 47.42 kB / 0.7274 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of SimCode: time 9.11e-07/0.3311, allocations: 0 / 0.7274 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of Templates: time 0.02447/0.3556, allocations: 11.5 MB / 0.7386 GB, free: 10.18 MB / 0.5762 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)