Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.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.Examples.GeneratorLoadGrid,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") [/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.2117/0.2139, allocations: 80.84 MB / 0.6706 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.005891/0.2198, allocations: 2.865 MB / 0.6734 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003341/0.2232, allocations: 1.742 MB / 0.6751 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002782/0.2236, allocations: 4 kB / 0.6751 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.2246, allocations: 239.1 kB / 0.6753 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0006857/0.2253, allocations: 187.1 kB / 0.6755 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007615/0.2261, allocations: 223.4 kB / 0.6757 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006589/0.2268, allocations: 314.8 kB / 0.676 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004458/0.2272, allocations: 182.3 kB / 0.6762 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002784/0.2275, allocations: 123.5 kB / 0.6763 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003908/0.2279, allocations: 155.5 kB / 0.6765 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.544e-05/0.228, allocations: 20 kB / 0.6765 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000534/0.2285, allocations: 251.5 kB / 0.6767 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.2287, allocations: 79.8 kB / 0.6768 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.2288, allocations: 115.4 kB / 0.6769 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006989/0.2295, allocations: 414.7 kB / 0.6773 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2296, allocations: 0 / 0.6773 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2296, allocations: 3.938 kB / 0.6773 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.2296, allocations: 0 / 0.6773 GB, free: 11.12 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.00114/0.2307, allocations: 0.538 MB / 0.6778 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.2308, allocations: 8.031 kB / 0.6779 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008007/0.2316, allocations: 92.55 kB / 0.6779 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000402/0.232, allocations: 256.5 kB / 0.6782 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.232, allocations: 16.73 kB / 0.6782 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.245e-05/0.2321, allocations: 16.38 kB / 0.6782 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006904/0.2328, allocations: 374.6 kB / 0.6786 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.2328, allocations: 4 kB / 0.6786 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.474e-05/0.2329, allocations: 8 kB / 0.6786 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.973e-05/0.2329, allocations: 24.31 kB / 0.6786 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006681/0.2336, allocations: 324.6 kB / 0.6789 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00194/0.2355, allocations: 1.512 MB / 0.6804 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000736/0.2363, allocations: 335.2 kB / 0.6807 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002864/0.2366, allocations: 153.6 kB / 0.6809 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001545/0.2368, allocations: 97.08 kB / 0.681 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.2368, allocations: 34.56 kB / 0.681 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=20): time 2.424e-06/0.2368, allocations: 0 / 0.681 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of matching and sorting (n=21): time 0.001461/0.2383, allocations: 0.5918 MB / 0.6816 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/0.2383, allocations: 89.23 kB / 0.6817 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002453/0.2386, allocations: 207.6 kB / 0.6818 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.444e-05/0.2387, allocations: 33.64 kB / 0.6819 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.2388, allocations: 155.9 kB / 0.682 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.799e-05/0.2388, allocations: 75 kB / 0.6821 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.239, allocations: 57.88 kB / 0.6822 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.2391, allocations: 330.8 kB / 0.6825 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002831/0.2394, allocations: 141.9 kB / 0.6826 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003206/0.2397, allocations: 211.3 kB / 0.6828 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005956/0.2403, allocations: 379 kB / 0.6832 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.2403, allocations: 0 / 0.6832 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008088/0.2412, allocations: 426.6 kB / 0.6836 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/0.2412, allocations: 8 kB / 0.6836 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.2412, allocations: 4 kB / 0.6836 GB, free: 4.273 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002495/0.2415, allocations: 36.83 kB / 0.6836 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003209/0.2418, allocations: 72.22 kB / 0.6837 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001601/0.2434, allocations: 1.611 MB / 0.6853 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002485/0.2437, allocations: 31.81 kB / 0.6853 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/0.2437, allocations: 8 kB / 0.6853 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003357/0.244, allocations: 236 kB / 0.6855 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002872/0.2443, allocations: 211.7 kB / 0.6857 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000526/0.2449, allocations: 353.5 kB / 0.6861 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.164e-06/0.2449, allocations: 0 / 0.6861 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.000836/0.2457, allocations: 410.1 kB / 0.6865 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.2458, allocations: 12.62 kB / 0.6865 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.2458, allocations: 0 / 0.6865 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001435/0.2459, allocations: 44.81 kB / 0.6865 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000276/0.2462, allocations: 67.89 kB / 0.6866 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.2476, allocations: 1.604 MB / 0.6881 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.2479, allocations: 27.83 kB / 0.6882 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.2479, allocations: 15.98 kB / 0.6882 GB, free: 15.17 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001588/0.2481, allocations: 204.2 kB / 0.6884 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.237e-05/0.2481, allocations: 19.81 kB / 0.6884 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007137/0.2489, allocations: 363.1 kB / 0.6887 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.2489, allocations: 4 kB / 0.6887 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.2489, allocations: 7.938 kB / 0.6888 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.2489, allocations: 7.984 kB / 0.6888 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001525/0.2504, allocations: 0.956 MB / 0.6897 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.2505, allocations: 0 / 0.6897 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002495/0.2507, allocations: 55.89 kB / 0.6898 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001259/0.2508, allocations: 40.77 kB / 0.6898 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.2509, allocations: 8 kB / 0.6898 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001275/0.2522, allocations: 1.508 MB / 0.6913 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.2522, allocations: 4 kB / 0.6913 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007567/0.2529, allocations: 0.5392 MB / 0.6918 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.2531, allocations: 120.9 kB / 0.6919 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.371e-05/0.2531, allocations: 15.88 kB / 0.6919 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002383/0.2534, allocations: 23.91 kB / 0.692 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.997e-05/0.2535, allocations: 19.97 kB / 0.692 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.2535, allocations: 8 kB / 0.692 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001568/0.2537, allocations: 159 kB / 0.6921 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.1e-07/0.2537, allocations: 0 / 0.6921 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006499/0.2543, allocations: 104 kB / 0.6922 GB, free: 10.73 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000196/0.2545, allocations: 111.2 kB / 0.6923 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001389/0.2559, allocations: 0.7453 MB / 0.6931 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.2559, allocations: 0 / 0.6931 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004309/0.2564, allocations: 275 kB / 0.6933 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004915/0.2569, allocations: 35.97 kB / 0.6934 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.2579, allocations: 0.5639 MB / 0.6939 GB, free: 8.922 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004191/0.2584, allocations: 0.7677 MB / 0.6947 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002679/0.2586, allocations: 97.84 kB / 0.6948 GB, free: 8.031 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.406e-05/0.2587, allocations: 27.44 kB / 0.6948 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of SimCode: time 4.61e-07/0.2587, allocations: 3.938 kB / 0.6948 GB, free: 8 MB / 0.5294 GB Notification: Performance of Templates: time 0.007665/0.2664, allocations: 3.306 MB / 0.698 GB, free: 4.703 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)