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.2276/0.2297, allocations: 80.83 MB / 0.6706 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.007335/0.2371, allocations: 4.325 MB / 0.6749 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005416/0.2425, allocations: 3.261 MB / 0.678 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004296/0.243, allocations: 11.94 kB / 0.6781 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001891/0.245, allocations: 0.5212 MB / 0.6786 GB, free: 10 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001371/0.2463, allocations: 386.8 kB / 0.6789 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008716/0.2472, allocations: 255.4 kB / 0.6792 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001093/0.2483, allocations: 0.5762 MB / 0.6797 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009499/0.2493, allocations: 0.5092 MB / 0.6802 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000701/0.25, allocations: 283.1 kB / 0.6805 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000595/0.2506, allocations: 279 kB / 0.6808 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.456e-05/0.2507, allocations: 36 kB / 0.6808 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006457/0.2514, allocations: 295.5 kB / 0.6811 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001766/0.2516, allocations: 155.6 kB / 0.6812 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002718/0.2518, allocations: 230.9 kB / 0.6815 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009077/0.2528, allocations: 0.7712 MB / 0.6822 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.2528, allocations: 0 / 0.6822 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2528, allocations: 3.938 kB / 0.6822 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.341e-05/0.2528, allocations: 0 / 0.6822 GB, free: 6.254 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.001538/0.2543, allocations: 0.7636 MB / 0.683 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/0.2544, allocations: 12.03 kB / 0.683 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002853/0.2573, allocations: 0.6594 MB / 0.6836 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007823/0.2581, allocations: 443.8 kB / 0.684 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.943e-05/0.2581, allocations: 24.59 kB / 0.6841 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.806e-05/0.2582, allocations: 35.98 kB / 0.6841 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001762/0.26, allocations: 0.7669 MB / 0.6848 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.726e-05/0.26, allocations: 0 / 0.6848 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.952e-05/0.2601, allocations: 27.91 kB / 0.6849 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001451/0.2603, allocations: 44.61 kB / 0.6849 GB, free: 3.367 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002156/0.2624, allocations: 0.8453 MB / 0.6857 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004389/0.2668, allocations: 2.394 MB / 0.6881 GB, free: 0 / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00175/0.2686, allocations: 0.502 MB / 0.6886 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007068/0.2693, allocations: 248.6 kB / 0.6888 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000147/0.2695, allocations: 89.09 kB / 0.6889 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/0.2695, allocations: 30.56 kB / 0.6889 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=16): time 2.214e-06/0.2695, allocations: 0 / 0.6889 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24): time 0.01135/0.2809, allocations: 2.944 MB / 0.6918 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/0.281, allocations: 55.41 kB / 0.6918 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006699/0.2817, allocations: 405.6 kB / 0.6922 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.151e-05/0.2818, allocations: 29.7 kB / 0.6923 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002414/0.282, allocations: 231.9 kB / 0.6925 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.2821, allocations: 90.73 kB / 0.6926 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001889/0.2823, allocations: 69.69 kB / 0.6926 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001952/0.2825, allocations: 346.7 kB / 0.693 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000987/0.2835, allocations: 360.4 kB / 0.6933 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009911/0.2845, allocations: 416.4 kB / 0.6937 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001923/0.2865, allocations: 0.7435 MB / 0.6944 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.2865, allocations: 0 / 0.6944 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.005039/0.2915, allocations: 1.479 MB / 0.6959 GB, free: 7.812 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.73e-05/0.2916, allocations: 6.188 kB / 0.6959 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/0.2916, allocations: 4 kB / 0.6959 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003625/0.2953, allocations: 0.7702 MB / 0.6966 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006706/0.296, allocations: 127.8 kB / 0.6968 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008263/0.3042, allocations: 4.847 MB / 0.7015 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008819/0.3052, allocations: 103.8 kB / 0.7016 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.214e-05/0.3052, allocations: 11.98 kB / 0.7016 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001291/0.3065, allocations: 0.5232 MB / 0.7021 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001026/0.3075, allocations: 412.6 kB / 0.7025 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001939/0.3095, allocations: 0.7257 MB / 0.7032 GB, free: 15.95 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.358e-06/0.3095, allocations: 0 / 0.7032 GB, free: 15.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.004249/0.3138, allocations: 1.25 MB / 0.7044 GB, free: 14.69 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.3138, allocations: 11.98 kB / 0.7044 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3138, allocations: 0 / 0.7044 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002273/0.3161, allocations: 0.4964 MB / 0.7049 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006785/0.3168, allocations: 131.8 kB / 0.7051 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004249/0.321, allocations: 2.605 MB / 0.7076 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008004/0.3219, allocations: 103.8 kB / 0.7077 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.856e-05/0.3219, allocations: 15.98 kB / 0.7077 GB, free: 11.19 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.0003063/0.3222, allocations: 204.2 kB / 0.7079 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/0.3224, allocations: 31.62 kB / 0.7079 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00493/0.3273, allocations: 1.357 MB / 0.7093 GB, free: 9.578 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.3274, allocations: 3.938 kB / 0.7093 GB, free: 9.574 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.3274, allocations: 4 kB / 0.7093 GB, free: 9.57 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.3274, allocations: 3.984 kB / 0.7093 GB, free: 9.566 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005963/0.3334, allocations: 2.002 MB / 0.7112 GB, free: 7.488 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/0.3334, allocations: 7.938 kB / 0.7112 GB, free: 7.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003859/0.3338, allocations: 83.98 kB / 0.7113 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00312/0.3369, allocations: 0.7037 MB / 0.712 GB, free: 6.688 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.652e-05/0.337, allocations: 15.94 kB / 0.712 GB, free: 6.672 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006472/0.3435, allocations: 4.671 MB / 0.7166 GB, free: 1.723 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.3435, allocations: 7.969 kB / 0.7166 GB, free: 1.715 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004514/0.348, allocations: 1.357 MB / 0.7179 GB, free: 332 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003174/0.3483, allocations: 156.7 kB / 0.7181 GB, free: 156 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.3485, allocations: 8 kB / 0.7181 GB, free: 148 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006333/0.3491, allocations: 83.86 kB / 0.7182 GB, free: 64 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002228/0.3493, allocations: 31.89 kB / 0.7182 GB, free: 32 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.508e-05/0.3494, allocations: 8 kB / 0.7182 GB, free: 24 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005971/0.35, allocations: 299.1 kB / 0.7185 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.81e-07/0.35, allocations: 0 / 0.7185 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00107/0.3511, allocations: 200 kB / 0.7187 GB, free: 15.54 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.0002631/0.3513, allocations: 111.2 kB / 0.7188 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003904/0.3553, allocations: 1.539 MB / 0.7203 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.3553, allocations: 3.938 kB / 0.7203 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001374/0.3567, allocations: 0.6223 MB / 0.7209 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007911/0.3575, allocations: 134.4 kB / 0.721 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002559/0.36, allocations: 1.068 MB / 0.7221 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/0.3611, allocations: 0.921 MB / 0.723 GB, free: 11 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005375/0.3616, allocations: 159.2 kB / 0.7231 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.3618, allocations: 31.42 kB / 0.7231 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of SimCode: time 1.322e-06/0.3618, allocations: 0 / 0.7231 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of Templates: time 0.02225/0.384, allocations: 12.23 MB / 0.7351 GB, free: 14.63 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)