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.1809/0.1832, allocations: 80.83 MB / 0.6706 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005458/0.1887, allocations: 3.706 MB / 0.6743 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003156/0.1919, allocations: 1.965 MB / 0.6762 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004205/0.1924, allocations: 15.88 kB / 0.6762 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009942/0.1934, allocations: 270.7 kB / 0.6764 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001035/0.1945, allocations: 330.4 kB / 0.6768 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007249/0.1952, allocations: 243.4 kB / 0.677 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0008278/0.1961, allocations: 0.5932 MB / 0.6776 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004972/0.1966, allocations: 262.5 kB / 0.6778 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00043/0.197, allocations: 235.1 kB / 0.678 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005717/0.1976, allocations: 254.9 kB / 0.6783 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.086e-05/0.1977, allocations: 28 kB / 0.6783 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006216/0.1983, allocations: 271.4 kB / 0.6786 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000184/0.1985, allocations: 119.6 kB / 0.6787 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003083/0.1989, allocations: 202.9 kB / 0.6789 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009057/0.1998, allocations: 0.5723 MB / 0.6794 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.187e-06/0.1998, allocations: 3.984 kB / 0.6794 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.104e-06/0.1998, allocations: 0 / 0.6794 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.767e-06/0.1998, allocations: 0 / 0.6794 GB, free: 8.922 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001427/0.2012, allocations: 0.7323 MB / 0.6802 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.2013, allocations: 8.031 kB / 0.6802 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009135/0.2022, allocations: 136.2 kB / 0.6803 GB, free: 8 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006491/0.2029, allocations: 407.5 kB / 0.6807 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.2029, allocations: 21.03 kB / 0.6807 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.748e-05/0.203, allocations: 32.36 kB / 0.6807 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009245/0.2039, allocations: 0.537 MB / 0.6813 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.074e-05/0.204, allocations: 7.938 kB / 0.6813 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.546e-05/0.204, allocations: 16 kB / 0.6813 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.171e-05/0.2041, allocations: 44.53 kB / 0.6813 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007713/0.2049, allocations: 405.7 kB / 0.6817 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00321/0.2081, allocations: 3.02 MB / 0.6847 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007245/0.2089, allocations: 330.5 kB / 0.685 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002985/0.2092, allocations: 180.7 kB / 0.6851 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.2092, allocations: 8 kB / 0.6852 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.2093, allocations: 38.55 kB / 0.6852 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=26): time 2.114e-06/0.2093, allocations: 0 / 0.6852 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of matching and sorting (n=27): time 0.002074/0.2113, allocations: 1.06 MB / 0.6862 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.2114, allocations: 55.58 kB / 0.6863 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003251/0.2117, allocations: 341.6 kB / 0.6866 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.2118, allocations: 29.7 kB / 0.6866 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.2119, allocations: 243.6 kB / 0.6869 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.626e-05/0.212, allocations: 98.64 kB / 0.687 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.2122, allocations: 74.05 kB / 0.687 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.2123, allocations: 346.8 kB / 0.6874 GB, free: 344 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002688/0.2126, allocations: 152.8 kB / 0.6875 GB, free: 192 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003871/0.213, allocations: 290.5 kB / 0.6878 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007018/0.2137, allocations: 489.8 kB / 0.6883 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2137, allocations: 0 / 0.6883 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009774/0.2147, allocations: 0.5654 MB / 0.6888 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.2147, allocations: 8.625 kB / 0.6888 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.2148, allocations: 4 kB / 0.6888 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003489/0.2151, allocations: 90.5 kB / 0.6889 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003424/0.2155, allocations: 91.81 kB / 0.689 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.2155, allocations: 11.94 kB / 0.689 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002683/0.2158, allocations: 27.97 kB / 0.689 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.102e-05/0.2158, allocations: 16 kB / 0.689 GB, free: 14.46 MB / 0.5294 GB 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.0002258/0.216, allocations: 189.5 kB / 0.6892 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.957e-05/0.2161, allocations: 39.53 kB / 0.6893 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008923/0.217, allocations: 468.2 kB / 0.6897 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.217, allocations: 7.938 kB / 0.6897 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.217, allocations: 0 / 0.6897 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.2171, allocations: 7.984 kB / 0.6897 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001499/0.2186, allocations: 0.956 MB / 0.6907 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.2186, allocations: 0 / 0.6907 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002267/0.2188, allocations: 52 kB / 0.6907 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002295/0.219, allocations: 90.44 kB / 0.6908 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.522e-05/0.2191, allocations: 4 kB / 0.6908 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.2191, allocations: 7.938 kB / 0.6908 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.2191, allocations: 0 / 0.6908 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000797/0.2199, allocations: 0.5467 MB / 0.6913 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001921/0.2201, allocations: 136.6 kB / 0.6915 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.357e-05/0.2202, allocations: 8 kB / 0.6915 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.2204, allocations: 23.97 kB / 0.6915 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.426e-05/0.2205, allocations: 27.91 kB / 0.6915 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.2205, allocations: 8 kB / 0.6915 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002268/0.2207, allocations: 239.2 kB / 0.6918 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2207, allocations: 0 / 0.6918 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004171/0.2212, allocations: 84 kB / 0.6918 GB, free: 11.43 MB / 0.5294 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 (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.0001622/0.2213, allocations: 111.1 kB / 0.6919 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008721/0.2222, allocations: 0.6407 MB / 0.6926 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2222, allocations: 0 / 0.6926 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004444/0.2227, allocations: 437.8 kB / 0.693 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006993/0.2234, allocations: 133.2 kB / 0.6931 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.2245, allocations: 0.7306 MB / 0.6938 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.2249, allocations: 0.8273 MB / 0.6946 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002391/0.2252, allocations: 79.34 kB / 0.6947 GB, free: 8.289 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.461e-05/0.2253, allocations: 35.42 kB / 0.6948 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of SimCode: time 4.11e-07/0.2253, allocations: 4 kB / 0.6948 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of Templates: time 0.009455/0.2347, allocations: 4.809 MB / 0.6995 GB, free: 3.504 MB / 0.5294 GB 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)