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/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.984/0.984, allocations: 132.4 MB / 139.9 MB, free: 2.82 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001381/0.001381, allocations: 175.4 kB / 171.8 MB, free: 4.922 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.424/1.424, allocations: 170.6 MB / 374.2 MB, free: 176 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001624/0.001624, allocations: 103.4 kB / 444.8 MB, free: 14.16 MB / 314.7 MB [/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.1562/0.1562, allocations: 73.42 MB / 0.6666 GB, free: 15.64 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5544/0.7106, allocations: 117 MB / 0.7809 GB, free: 14.59 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/0.7109, allocations: 95.94 kB / 0.781 GB, free: 14.49 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05048/0.7614, allocations: 20.81 MB / 0.8013 GB, free: 9.461 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.465e-06/0.7615, allocations: 0 / 0.8013 GB, free: 9.461 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.713e-05/0.7615, allocations: 16 kB / 0.8013 GB, free: 9.445 MB / 0.4948 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.001302/0.7628, allocations: 0.643 MB / 0.802 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.7629, allocations: 11.97 kB / 0.802 GB, free: 8.746 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.7639, allocations: 135.3 kB / 0.8021 GB, free: 8.613 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000699/0.7646, allocations: 370.8 kB / 0.8025 GB, free: 8.211 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.7647, allocations: 12 kB / 0.8025 GB, free: 8.199 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.992e-05/0.7647, allocations: 16 kB / 0.8025 GB, free: 8.184 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005073/0.7653, allocations: 277.4 kB / 0.8027 GB, free: 7.914 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007487/0.766, allocations: 0.5287 MB / 0.8033 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.487e-05/0.7661, allocations: 7.938 kB / 0.8033 GB, free: 7.273 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.056e-05/0.7661, allocations: 0 / 0.8033 GB, free: 7.273 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-05/0.7662, allocations: 36.53 kB / 0.8033 GB, free: 7.238 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003431/0.7696, allocations: 2.977 MB / 0.8062 GB, free: 4.102 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006285/0.7702, allocations: 298.8 kB / 0.8065 GB, free: 3.797 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002486/0.7705, allocations: 160.8 kB / 0.8067 GB, free: 3.637 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.7705, allocations: 4 kB / 0.8067 GB, free: 3.633 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.7706, allocations: 38.5 kB / 0.8067 GB, free: 3.586 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=26): time 1.963e-06/0.7706, allocations: 0 / 0.8067 GB, free: 3.586 MB / 0.4948 GB Notification: Performance of matching and sorting (n=27): time 0.001099/0.7717, allocations: 0.5729 MB / 0.8073 GB, free: 2.996 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.7717, allocations: 55.64 kB / 0.8073 GB, free: 2.93 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002973/0.7721, allocations: 254.2 kB / 0.8075 GB, free: 2.676 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.7721, allocations: 29.7 kB / 0.8076 GB, free: 2.641 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/0.7723, allocations: 232 kB / 0.8078 GB, free: 2.41 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.091e-05/0.7724, allocations: 94.59 kB / 0.8079 GB, free: 2.316 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.459e-05/0.7724, allocations: 0 / 0.8079 GB, free: 2.316 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.7726, allocations: 342.8 kB / 0.8082 GB, free: 1.973 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.7728, allocations: 124.7 kB / 0.8083 GB, free: 1.848 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002977/0.7731, allocations: 252.5 kB / 0.8086 GB, free: 1.547 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002471/0.7733, allocations: 160.5 kB / 0.8087 GB, free: 1.391 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.7734, allocations: 4 kB / 0.8087 GB, free: 1.387 MB / 0.4948 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007911/0.7742, allocations: 483.7 kB / 0.8092 GB, free: 0.8984 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.7742, allocations: 12.06 kB / 0.8092 GB, free: 0.8867 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.7742, allocations: 4 kB / 0.8092 GB, free: 0.8828 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002709/0.7745, allocations: 78.52 kB / 0.8093 GB, free: 0.7969 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000331/0.7748, allocations: 91.81 kB / 0.8094 GB, free: 0.707 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.7748, allocations: 7.938 kB / 0.8094 GB, free: 0.6992 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002735/0.7751, allocations: 27.97 kB / 0.8094 GB, free: 0.6719 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/0.7752, allocations: 20 kB / 0.8094 GB, free: 0.6523 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001196/0.7753, allocations: 120.1 kB / 0.8095 GB, free: 0.5312 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.692e-05/0.7754, allocations: 35.62 kB / 0.8096 GB, free: 0.4961 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007187/0.7761, allocations: 412.7 kB / 0.81 GB, free: 76 kB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.7761, allocations: 8 kB / 0.81 GB, free: 68 kB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.7761, allocations: 0 / 0.81 GB, free: 68 kB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.7761, allocations: 3.938 kB / 0.81 GB, free: 64 kB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001246/0.7774, allocations: 0.8634 MB / 0.8108 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.7774, allocations: 4 kB / 0.8108 GB, free: 15.13 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002417/0.7777, allocations: 56.03 kB / 0.8109 GB, free: 15.08 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002236/0.7779, allocations: 78.45 kB / 0.811 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.7779, allocations: 8 kB / 0.811 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.7779, allocations: 0 / 0.811 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.7779, allocations: 4 kB / 0.811 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006491/0.7786, allocations: 0.5324 MB / 0.8115 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001549/0.7788, allocations: 136.6 kB / 0.8116 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.727e-05/0.7788, allocations: 8 kB / 0.8116 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.779, allocations: 19.97 kB / 0.8116 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.691e-05/0.7791, allocations: 27.92 kB / 0.8117 GB, free: 14.19 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.7791, allocations: 4 kB / 0.8117 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001773/0.7793, allocations: 192.6 kB / 0.8119 GB, free: 14 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2e-07/0.7793, allocations: 0 / 0.8119 GB, free: 14 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004503/0.7798, allocations: 83.98 kB / 0.8119 GB, free: 13.91 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001482/0.78, allocations: 107.2 kB / 0.812 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007058/0.7807, allocations: 0.5718 MB / 0.8126 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.7807, allocations: 1.062 kB / 0.8126 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003814/0.7811, allocations: 421.9 kB / 0.813 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005829/0.7817, allocations: 98.58 kB / 0.8131 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008835/0.7826, allocations: 0.5004 MB / 0.8136 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004314/0.783, allocations: 0.8317 MB / 0.8144 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002709/0.7833, allocations: 87.2 kB / 0.8145 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.834e-05/0.7834, allocations: 23.44 kB / 0.8145 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of SimCode: time 1.543e-06/0.7834, allocations: 0 / 0.8145 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of Templates: time 0.008969/0.7923, allocations: 3.993 MB / 0.8184 GB, free: 7.141 MB / 0.5105 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)