Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") [/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.193/0.195, allocations: 80.84 MB / 0.6706 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.006656/0.2017, allocations: 4.321 MB / 0.6748 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005156/0.2069, allocations: 3.265 MB / 0.678 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002957/0.2072, allocations: 15.94 kB / 0.6781 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001608/0.2089, allocations: 0.5095 MB / 0.6785 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001014/0.2099, allocations: 390.8 kB / 0.6789 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006811/0.2106, allocations: 247.4 kB / 0.6792 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000715/0.2113, allocations: 0.5801 MB / 0.6797 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006965/0.212, allocations: 0.517 MB / 0.6802 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004557/0.2125, allocations: 279.1 kB / 0.6805 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004298/0.2129, allocations: 283 kB / 0.6808 GB, free: 7.594 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.218e-05/0.213, allocations: 40 kB / 0.6808 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005267/0.2135, allocations: 291.5 kB / 0.6811 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001704/0.2137, allocations: 159.6 kB / 0.6812 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002172/0.2139, allocations: 226.9 kB / 0.6814 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008183/0.2148, allocations: 0.7634 MB / 0.6822 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.2148, allocations: 4 kB / 0.6822 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.215e-06/0.2148, allocations: 0 / 0.6822 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.398e-06/0.2148, allocations: 0 / 0.6822 GB, free: 6.121 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001377/0.2162, allocations: 0.7674 MB / 0.6829 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.2162, allocations: 8.031 kB / 0.683 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002701/0.2189, allocations: 0.6594 MB / 0.6836 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008263/0.2198, allocations: 451.8 kB / 0.684 GB, free: 4.152 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.2198, allocations: 28.58 kB / 0.6841 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.457e-05/0.2199, allocations: 28 kB / 0.6841 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/0.2215, allocations: 0.763 MB / 0.6848 GB, free: 3.305 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.2215, allocations: 4 kB / 0.6848 GB, free: 3.301 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.034e-05/0.2216, allocations: 16 kB / 0.6848 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001136/0.2217, allocations: 40.55 kB / 0.6849 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001971/0.2237, allocations: 0.853 MB / 0.6857 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003904/0.2276, allocations: 2.39 MB / 0.6881 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001643/0.2292, allocations: 0.5096 MB / 0.6886 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006958/0.23, allocations: 252.6 kB / 0.6888 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001153/0.2301, allocations: 89.11 kB / 0.6889 GB, free: 15 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/0.2301, allocations: 34.56 kB / 0.6889 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=16): time 2.345e-06/0.2301, allocations: 0 / 0.6889 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24): time 0.01106/0.2412, allocations: 2.94 MB / 0.6918 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/0.2413, allocations: 59.41 kB / 0.6918 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005466/0.2419, allocations: 409.6 kB / 0.6922 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.03e-05/0.2419, allocations: 29.7 kB / 0.6923 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.2421, allocations: 227.9 kB / 0.6925 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.283e-05/0.2422, allocations: 86.73 kB / 0.6926 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/0.2424, allocations: 65.69 kB / 0.6926 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.2425, allocations: 350.8 kB / 0.693 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009076/0.2434, allocations: 352.4 kB / 0.6933 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009505/0.2444, allocations: 420.4 kB / 0.6937 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001822/0.2462, allocations: 0.7513 MB / 0.6944 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2462, allocations: 0 / 0.6944 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004937/0.2512, allocations: 1.475 MB / 0.6959 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/0.2512, allocations: 10.19 kB / 0.6959 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.2513, allocations: 0 / 0.6959 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003525/0.2548, allocations: 0.7703 MB / 0.6966 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006287/0.2554, allocations: 127.8 kB / 0.6967 GB, free: 6.766 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006862/0.2623, allocations: 4.841 MB / 0.7015 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008406/0.2632, allocations: 103.9 kB / 0.7016 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.093e-05/0.2633, allocations: 19.98 kB / 0.7016 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001228/0.2645, allocations: 0.5193 MB / 0.7021 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009179/0.2654, allocations: 420.6 kB / 0.7025 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001831/0.2673, allocations: 0.7257 MB / 0.7032 GB, free: 15.81 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.871e-06/0.2673, allocations: 4 kB / 0.7032 GB, free: 15.81 MB / 0.545 GB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.00414/0.2715, allocations: 1.247 MB / 0.7044 GB, free: 14.55 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.2715, allocations: 4 kB / 0.7044 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.2715, allocations: 4 kB / 0.7044 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002239/0.2738, allocations: 0.4925 MB / 0.7049 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000643/0.2744, allocations: 135.8 kB / 0.7051 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003858/0.2783, allocations: 2.609 MB / 0.7076 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008396/0.2792, allocations: 107.8 kB / 0.7077 GB, free: 11.06 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.011e-05/0.2792, allocations: 12 kB / 0.7077 GB, free: 11.05 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002273/0.2794, allocations: 204.2 kB / 0.7079 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.099e-05/0.2795, allocations: 35.62 kB / 0.7079 GB, free: 10.81 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004464/0.284, allocations: 1.353 MB / 0.7093 GB, free: 9.438 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.2841, allocations: 4 kB / 0.7093 GB, free: 9.434 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2841, allocations: 4 kB / 0.7093 GB, free: 9.43 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.2841, allocations: 0 / 0.7093 GB, free: 9.43 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005415/0.2895, allocations: 2.014 MB / 0.7112 GB, free: 7.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.2895, allocations: 0 / 0.7112 GB, free: 7.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003926/0.2899, allocations: 71.91 kB / 0.7113 GB, free: 7.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003054/0.293, allocations: 0.7155 MB / 0.712 GB, free: 6.547 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.607e-05/0.2931, allocations: 7.938 kB / 0.712 GB, free: 6.539 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006016/0.2991, allocations: 4.671 MB / 0.7166 GB, free: 1.59 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.2991, allocations: 0 / 0.7166 GB, free: 1.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004364/0.3035, allocations: 1.361 MB / 0.7179 GB, free: 200 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003175/0.3038, allocations: 160.7 kB / 0.7181 GB, free: 20 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.211e-05/0.3039, allocations: 12 kB / 0.7181 GB, free: 8 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006052/0.3045, allocations: 87.84 kB / 0.7182 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/0.3047, allocations: 23.91 kB / 0.7182 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.168e-05/0.3047, allocations: 8 kB / 0.7182 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004263/0.3052, allocations: 299.1 kB / 0.7185 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3052, allocations: 0 / 0.7185 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000943/0.3061, allocations: 204 kB / 0.7187 GB, free: 15.4 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002463/0.3064, allocations: 115.4 kB / 0.7188 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003935/0.3103, allocations: 1.531 MB / 0.7203 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.3104, allocations: 0 / 0.7203 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001242/0.3116, allocations: 0.6341 MB / 0.7209 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007318/0.3124, allocations: 127.3 kB / 0.721 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002326/0.3147, allocations: 1.068 MB / 0.722 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006305/0.3153, allocations: 0.9132 MB / 0.7229 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005212/0.3159, allocations: 163.2 kB / 0.7231 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/0.316, allocations: 39.36 kB / 0.7231 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of SimCode: time 5.71e-07/0.316, allocations: 0 / 0.7231 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of Templates: time 0.02275/0.3388, allocations: 12.46 MB / 0.7353 GB, free: 14.27 MB / 0.5762 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)