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.2299/0.2322, allocations: 80.84 MB / 0.6706 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009804/0.242, allocations: 6.615 MB / 0.6771 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006319/0.2484, allocations: 3.243 MB / 0.6803 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000607/0.249, allocations: 31.81 kB / 0.6803 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002528/0.2516, allocations: 0.9478 MB / 0.6812 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0016/0.2532, allocations: 0.5636 MB / 0.6818 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.2546, allocations: 413.2 kB / 0.6822 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001524/0.2561, allocations: 1.217 MB / 0.6834 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001095/0.2572, allocations: 0.6466 MB / 0.684 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000643/0.2578, allocations: 482.3 kB / 0.6844 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008039/0.2587, allocations: 0.5332 MB / 0.685 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.912e-05/0.2588, allocations: 64 kB / 0.685 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008177/0.2596, allocations: 383.3 kB / 0.6854 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003042/0.2599, allocations: 311.1 kB / 0.6857 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004876/0.2604, allocations: 433.8 kB / 0.6861 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001365/0.2618, allocations: 1.195 MB / 0.6873 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.2618, allocations: 0 / 0.6873 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.715e-06/0.2618, allocations: 0 / 0.6873 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.896e-05/0.2618, allocations: 0 / 0.6873 GB, free: 0.9062 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.002176/0.264, allocations: 1.141 MB / 0.6884 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.2641, allocations: 12.03 kB / 0.6884 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001591/0.2657, allocations: 239.5 kB / 0.6886 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009705/0.2667, allocations: 0.592 MB / 0.6892 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.64e-05/0.2667, allocations: 49.61 kB / 0.6893 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.2668, allocations: 68.36 kB / 0.6893 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/0.2685, allocations: 1.073 MB / 0.6904 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.429e-05/0.2686, allocations: 7.938 kB / 0.6904 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.904e-05/0.2687, allocations: 31.98 kB / 0.6904 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001555/0.2688, allocations: 89.25 kB / 0.6905 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.2699, allocations: 0.7348 MB / 0.6912 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005491/0.2754, allocations: 4.843 MB / 0.6959 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.2765, allocations: 0.5602 MB / 0.6965 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004648/0.277, allocations: 330 kB / 0.6968 GB, free: 6.758 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.625e-05/0.2771, allocations: 4.438 kB / 0.6968 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.2771, allocations: 39 kB / 0.6968 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=47): time 3.276e-06/0.2771, allocations: 4 kB / 0.6968 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48): time 0.003987/0.2811, allocations: 1.982 MB / 0.6988 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.2812, allocations: 59.78 kB / 0.6988 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005778/0.2818, allocations: 0.5586 MB / 0.6994 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.048e-05/0.2818, allocations: 37.7 kB / 0.6994 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002576/0.2821, allocations: 407 kB / 0.6998 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/0.2822, allocations: 173.6 kB / 0.7 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/0.2824, allocations: 118.6 kB / 0.7001 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.2826, allocations: 378.8 kB / 0.7004 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004212/0.283, allocations: 277.8 kB / 0.7007 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006196/0.2836, allocations: 0.4892 MB / 0.7012 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.2848, allocations: 0.8133 MB / 0.702 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.2848, allocations: 7.938 kB / 0.702 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001951/0.2867, allocations: 1.087 MB / 0.703 GB, free: 15.98 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.781e-05/0.2868, allocations: 9.875 kB / 0.7031 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.333e-05/0.2868, allocations: 7.938 kB / 0.7031 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00107/0.2879, allocations: 283.3 kB / 0.7033 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005374/0.2884, allocations: 123.8 kB / 0.7035 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00838/0.2968, allocations: 7.134 MB / 0.7104 GB, free: 7.855 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007125/0.2976, allocations: 39.95 kB / 0.7105 GB, free: 7.816 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.34e-05/0.2977, allocations: 28 kB / 0.7105 GB, free: 7.789 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.0004509/0.2981, allocations: 249.7 kB / 0.7107 GB, free: 7.535 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/0.2983, allocations: 79.09 kB / 0.7108 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001748/0.3001, allocations: 0.8885 MB / 0.7117 GB, free: 6.547 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.3001, allocations: 4 kB / 0.7117 GB, free: 6.543 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.808e-05/0.3001, allocations: 7.938 kB / 0.7117 GB, free: 6.535 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.627e-06/0.3001, allocations: 7.984 kB / 0.7117 GB, free: 6.527 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00332/0.3034, allocations: 1.717 MB / 0.7134 GB, free: 4.723 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.3035, allocations: 0 / 0.7134 GB, free: 4.723 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002962/0.3038, allocations: 67.88 kB / 0.7134 GB, free: 4.656 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008228/0.3046, allocations: 271.4 kB / 0.7137 GB, free: 4.379 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.775e-05/0.3047, allocations: 19.88 kB / 0.7137 GB, free: 4.359 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007799/0.3125, allocations: 7.115 MB / 0.7207 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.237e-06/0.3125, allocations: 0 / 0.7207 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001889/0.3144, allocations: 0.9912 MB / 0.7216 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004696/0.3149, allocations: 188.2 kB / 0.7218 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001653/0.3151, allocations: 16 kB / 0.7218 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005004/0.3156, allocations: 27.95 kB / 0.7218 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.3157, allocations: 47.83 kB / 0.7219 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.106e-05/0.3158, allocations: 16 kB / 0.7219 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005771/0.3164, allocations: 383.1 kB / 0.7223 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3164, allocations: 0 / 0.7223 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001079/0.3175, allocations: 216 kB / 0.7225 GB, free: 10.76 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.0002459/0.3177, allocations: 123.1 kB / 0.7226 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002453/0.3202, allocations: 1.279 MB / 0.7238 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.3202, allocations: 0 / 0.7238 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001427/0.3216, allocations: 0.8932 MB / 0.7247 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.3228, allocations: 221.3 kB / 0.7249 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003091/0.3259, allocations: 1.351 MB / 0.7262 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008808/0.3268, allocations: 1.013 MB / 0.7272 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004684/0.3273, allocations: 130 kB / 0.7274 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.3275, allocations: 43.38 kB / 0.7274 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of SimCode: time 1.744e-06/0.3275, allocations: 0 / 0.7274 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of Templates: time 0.02491/0.3524, allocations: 11.28 MB / 0.7384 GB, free: 10.38 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)