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_L.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") [/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.203/0.2064, allocations: 80.83 MB / 0.6706 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.00812/0.2146, allocations: 5.917 MB / 0.6764 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005757/0.2204, allocations: 3.383 MB / 0.6797 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007731/0.2213, allocations: 27.81 kB / 0.6797 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002767/0.2241, allocations: 0.9253 MB / 0.6807 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001818/0.2259, allocations: 0.5249 MB / 0.6812 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001524/0.2275, allocations: 470.8 kB / 0.6816 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001877/0.2294, allocations: 1.061 MB / 0.6826 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001272/0.2307, allocations: 0.6271 MB / 0.6833 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001037/0.2317, allocations: 434.4 kB / 0.6837 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001181/0.2329, allocations: 482.2 kB / 0.6841 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002659/0.2332, allocations: 56 kB / 0.6842 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001501/0.2347, allocations: 483 kB / 0.6847 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005544/0.2353, allocations: 279.2 kB / 0.6849 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008918/0.2362, allocations: 378 kB / 0.6853 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002015/0.2382, allocations: 1.137 MB / 0.6864 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.2382, allocations: 0 / 0.6864 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2382, allocations: 4 kB / 0.6864 GB, free: 1.648 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.972e-05/0.2383, allocations: 4 kB / 0.6864 GB, free: 1.645 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.002539/0.2408, allocations: 1.013 MB / 0.6874 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.782e-05/0.2409, allocations: 12.03 kB / 0.6874 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001831/0.2427, allocations: 235.6 kB / 0.6876 GB, free: 344 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.2439, allocations: 0.5688 MB / 0.6882 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.731e-05/0.244, allocations: 45.67 kB / 0.6882 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/0.2441, allocations: 64.27 kB / 0.6883 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00184/0.246, allocations: 0.9986 MB / 0.6893 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.118e-05/0.2461, allocations: 11.92 kB / 0.6893 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.426e-05/0.2461, allocations: 31.98 kB / 0.6893 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001055/0.2462, allocations: 65.28 kB / 0.6894 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/0.2476, allocations: 0.6762 MB / 0.69 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005755/0.2533, allocations: 4.675 MB / 0.6946 GB, free: 8.879 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009208/0.2543, allocations: 0.6063 MB / 0.6952 GB, free: 8.227 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008483/0.2551, allocations: 440.5 kB / 0.6956 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.307e-05/0.2552, allocations: 4 kB / 0.6956 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.2552, allocations: 38.5 kB / 0.6956 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=41): time 2.444e-06/0.2552, allocations: 0 / 0.6956 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of matching and sorting (n=42): time 0.004581/0.2598, allocations: 2.007 MB / 0.6976 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.2599, allocations: 55.41 kB / 0.6977 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005958/0.2605, allocations: 454.7 kB / 0.6981 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.981e-05/0.2605, allocations: 37.7 kB / 0.6981 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000287/0.2608, allocations: 379.2 kB / 0.6985 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/0.261, allocations: 145.9 kB / 0.6986 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001997/0.2612, allocations: 110.2 kB / 0.6987 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002007/0.2614, allocations: 366.7 kB / 0.6991 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003868/0.2618, allocations: 241.2 kB / 0.6993 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005585/0.2624, allocations: 468.9 kB / 0.6998 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.2635, allocations: 0.7442 MB / 0.7005 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.2635, allocations: 3.938 kB / 0.7005 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001989/0.2655, allocations: 1.042 MB / 0.7015 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.2655, allocations: 10.97 kB / 0.7015 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/0.2655, allocations: 11.98 kB / 0.7015 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/0.2666, allocations: 315.7 kB / 0.7018 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003651/0.267, allocations: 95.81 kB / 0.7019 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007922/0.2749, allocations: 7.47 MB / 0.7092 GB, free: 8.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005372/0.2755, allocations: 36.02 kB / 0.7092 GB, free: 8.875 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.752e-05/0.2756, allocations: 24 kB / 0.7093 GB, free: 8.852 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004379/0.276, allocations: 241.5 kB / 0.7095 GB, free: 8.605 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.2762, allocations: 59.62 kB / 0.7096 GB, free: 8.547 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001759/0.278, allocations: 0.9002 MB / 0.7104 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.278, allocations: 11.94 kB / 0.7104 GB, free: 7.613 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/0.278, allocations: 11.94 kB / 0.7105 GB, free: 7.602 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.278, allocations: 0 / 0.7105 GB, free: 7.602 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002871/0.2809, allocations: 1.661 MB / 0.7121 GB, free: 5.852 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.2809, allocations: 7.938 kB / 0.7121 GB, free: 5.844 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000177/0.2811, allocations: 39.91 kB / 0.7121 GB, free: 5.805 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009103/0.282, allocations: 311.3 kB / 0.7124 GB, free: 5.488 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.672e-05/0.2821, allocations: 8 kB / 0.7124 GB, free: 5.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007935/0.29, allocations: 7.462 MB / 0.7197 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.678e-06/0.2901, allocations: 4 kB / 0.7197 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00201/0.2921, allocations: 0.9838 MB / 0.7207 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004465/0.2926, allocations: 176.3 kB / 0.7208 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/0.2927, allocations: 11.98 kB / 0.7209 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003795/0.2931, allocations: 16.27 kB / 0.7209 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001899/0.2933, allocations: 47.88 kB / 0.7209 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.248e-05/0.2934, allocations: 12 kB / 0.7209 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004985/0.2939, allocations: 314.8 kB / 0.7212 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2939, allocations: 0 / 0.7212 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009715/0.2949, allocations: 192 kB / 0.7214 GB, free: 11.65 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001913/0.2951, allocations: 109.9 kB / 0.7215 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002144/0.2972, allocations: 1.21 MB / 0.7227 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.2972, allocations: 0 / 0.7227 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001398/0.2987, allocations: 0.8513 MB / 0.7235 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00133/0.3, allocations: 205.4 kB / 0.7237 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002721/0.3027, allocations: 1.228 MB / 0.7249 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008263/0.3036, allocations: 0.9843 MB / 0.7259 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000369/0.304, allocations: 105.2 kB / 0.726 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.274e-05/0.3041, allocations: 31.44 kB / 0.726 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of SimCode: time 1.152e-06/0.3041, allocations: 4 kB / 0.726 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of Templates: time 0.0242/0.3283, allocations: 9.924 MB / 0.7357 GB, free: 12.93 MB / 0.5762 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)