Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [/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.1778/0.1798, allocations: 80.83 MB / 0.5897 GB, free: 7.102 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005315/0.1852, allocations: 3.736 MB / 0.5933 GB, free: 3.336 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003115/0.1883, allocations: 1.985 MB / 0.5953 GB, free: 1.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002682/0.1886, allocations: 15.88 kB / 0.5953 GB, free: 1.324 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008291/0.1895, allocations: 251 kB / 0.5955 GB, free: 1.078 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007285/0.1903, allocations: 306.6 kB / 0.5958 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005601/0.1908, allocations: 227.2 kB / 0.596 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006962/0.1915, allocations: 0.7297 MB / 0.5968 GB, free: 15.83 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004926/0.192, allocations: 250.2 kB / 0.597 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002939/0.1924, allocations: 207.1 kB / 0.5972 GB, free: 15.37 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003641/0.1927, allocations: 254.9 kB / 0.5974 GB, free: 15.12 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.38e-05/0.1928, allocations: 16 kB / 0.5975 GB, free: 15.11 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005606/0.1933, allocations: 335.3 kB / 0.5978 GB, free: 14.78 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.1935, allocations: 115.6 kB / 0.5979 GB, free: 14.66 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001963/0.1937, allocations: 187 kB / 0.5981 GB, free: 14.48 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006146/0.1943, allocations: 0.5878 MB / 0.5986 GB, free: 13.89 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.445e-06/0.1943, allocations: 0 / 0.5986 GB, free: 13.89 MB / 462.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.1943, allocations: 11.94 kB / 0.5986 GB, free: 13.88 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.1944, allocations: 0 / 0.5986 GB, free: 13.88 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.00126/0.1956, allocations: 0.724 MB / 0.5994 GB, free: 13.11 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.1957, allocations: 8.031 kB / 0.5994 GB, free: 13.1 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008712/0.1965, allocations: 144.2 kB / 0.5995 GB, free: 12.96 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004908/0.197, allocations: 371.7 kB / 0.5999 GB, free: 12.56 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.369e-05/0.1971, allocations: 21.03 kB / 0.5999 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.951e-05/0.1972, allocations: 28.36 kB / 0.5999 GB, free: 12.51 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007783/0.1979, allocations: 0.5409 MB / 0.6004 GB, free: 11.9 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.198, allocations: 3.938 kB / 0.6004 GB, free: 11.89 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.45e-05/0.198, allocations: 12 kB / 0.6004 GB, free: 11.88 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-05/0.1981, allocations: 44.53 kB / 0.6005 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006566/0.1987, allocations: 405.7 kB / 0.6009 GB, free: 11.44 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002682/0.2014, allocations: 3.02 MB / 0.6038 GB, free: 8.25 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006749/0.2021, allocations: 339.3 kB / 0.6041 GB, free: 7.91 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003004/0.2024, allocations: 184.7 kB / 0.6043 GB, free: 7.727 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.863e-05/0.2025, allocations: 4 kB / 0.6043 GB, free: 7.723 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.2025, allocations: 34.55 kB / 0.6044 GB, free: 7.68 MB / 462.1 MB Notification: Performance of pre-optimization done (n=26): time 1.734e-06/0.2025, allocations: 0 / 0.6044 GB, free: 7.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=27): time 0.001971/0.2045, allocations: 1.058 MB / 0.6054 GB, free: 6.555 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/0.2046, allocations: 59.52 kB / 0.6054 GB, free: 6.484 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000323/0.2049, allocations: 345.5 kB / 0.6058 GB, free: 6.137 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.2049, allocations: 29.7 kB / 0.6058 GB, free: 6.102 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.2051, allocations: 247.6 kB / 0.606 GB, free: 5.855 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.947e-05/0.2052, allocations: 90.73 kB / 0.6061 GB, free: 5.766 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.2053, allocations: 77.95 kB / 0.6062 GB, free: 5.684 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.2054, allocations: 342.8 kB / 0.6065 GB, free: 5.34 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002676/0.2057, allocations: 160.7 kB / 0.6067 GB, free: 5.184 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003451/0.2061, allocations: 286.5 kB / 0.607 GB, free: 4.84 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000677/0.2068, allocations: 490.5 kB / 0.6074 GB, free: 4.297 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.2068, allocations: 7.938 kB / 0.6074 GB, free: 4.289 MB / 462.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001012/0.2078, allocations: 0.5621 MB / 0.608 GB, free: 3.711 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.954e-05/0.2078, allocations: 8 kB / 0.608 GB, free: 3.703 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.2079, allocations: 8.062 kB / 0.608 GB, free: 3.695 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003648/0.2082, allocations: 86.5 kB / 0.6081 GB, free: 3.602 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003325/0.2086, allocations: 87.88 kB / 0.6082 GB, free: 3.516 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.712e-05/0.2086, allocations: 7.938 kB / 0.6082 GB, free: 3.508 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002589/0.2089, allocations: 31.97 kB / 0.6082 GB, free: 3.477 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.811e-05/0.2089, allocations: 16 kB / 0.6082 GB, free: 3.461 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002047/0.2091, allocations: 185.6 kB / 0.6084 GB, free: 3.27 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.941e-05/0.2092, allocations: 39.53 kB / 0.6084 GB, free: 3.23 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000864/0.2101, allocations: 464.2 kB / 0.6089 GB, free: 2.762 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.86e-06/0.2101, allocations: 8 kB / 0.6089 GB, free: 2.754 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.2101, allocations: 3.984 kB / 0.6089 GB, free: 2.75 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.2101, allocations: 3.984 kB / 0.6089 GB, free: 2.746 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001388/0.2115, allocations: 0.9612 MB / 0.6098 GB, free: 1.711 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.2115, allocations: 4.031 kB / 0.6098 GB, free: 1.707 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002243/0.2117, allocations: 47.91 kB / 0.6099 GB, free: 1.66 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002301/0.212, allocations: 86.44 kB / 0.61 GB, free: 1.566 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/0.212, allocations: 8 kB / 0.61 GB, free: 1.559 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/0.212, allocations: 8 kB / 0.61 GB, free: 1.551 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.212, allocations: 0 / 0.61 GB, free: 1.551 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007821/0.2128, allocations: 0.5549 MB / 0.6105 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.213, allocations: 136.6 kB / 0.6106 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.139e-05/0.213, allocations: 12 kB / 0.6107 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/0.2133, allocations: 19.97 kB / 0.6107 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.094e-05/0.2133, allocations: 31.83 kB / 0.6107 GB, free: 0.7461 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.2134, allocations: 8 kB / 0.6107 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002052/0.2136, allocations: 235.2 kB / 0.6109 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2136, allocations: 0 / 0.6109 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000396/0.214, allocations: 84 kB / 0.611 GB, free: 440 kB / 462.1 MB 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001267/0.2141, allocations: 111.1 kB / 0.6111 GB, free: 320 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008504/0.215, allocations: 0.6354 MB / 0.6117 GB, free: 15.61 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.215, allocations: 0 / 0.6117 GB, free: 15.61 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004486/0.2154, allocations: 433.7 kB / 0.6122 GB, free: 15.12 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006743/0.2161, allocations: 119.9 kB / 0.6123 GB, free: 15 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.2172, allocations: 0.8804 MB / 0.6131 GB, free: 14.09 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.2175, allocations: 0.8234 MB / 0.6139 GB, free: 13.24 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002413/0.2178, allocations: 83.36 kB / 0.614 GB, free: 13.16 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.688e-05/0.2179, allocations: 31.42 kB / 0.614 GB, free: 13.13 MB / 478.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2179, allocations: 0 / 0.614 GB, free: 13.13 MB / 478.1 MB Notification: Performance of Templates: time 0.008011/0.2259, allocations: 4.48 MB / 0.6184 GB, free: 8.746 MB / 478.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)