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.9568/0.9568, allocations: 132.4 MB / 139.9 MB, free: 15.43 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00109/0.00109, allocations: 168.9 kB / 171.8 MB, free: 2.051 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.647/1.647, allocations: 170.6 MB / 374.2 MB, free: 15.71 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001605/0.001606, allocations: 112.2 kB / 444.8 MB, free: 9.234 MB / 346.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.4866/0.4866, allocations: 73.4 MB / 0.6666 GB, free: 46.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1814/0.6681, allocations: 117 MB / 0.7809 GB, free: 3.773 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003224/0.6685, allocations: 89.91 kB / 0.781 GB, free: 3.688 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05684/0.7254, allocations: 20.81 MB / 0.8013 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.625e-06/0.7254, allocations: 0 / 0.8013 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.793e-05/0.7255, allocations: 12 kB / 0.8013 GB, free: 14.79 MB / 0.5105 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.001749/0.7273, allocations: 0.6528 MB / 0.802 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.991e-05/0.7273, allocations: 8.031 kB / 0.802 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/0.7285, allocations: 127.3 kB / 0.8021 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007169/0.7292, allocations: 381.5 kB / 0.8025 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.7292, allocations: 8 kB / 0.8025 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.8e-05/0.7293, allocations: 19.94 kB / 0.8025 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005452/0.7299, allocations: 281.5 kB / 0.8027 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008662/0.7308, allocations: 0.5248 MB / 0.8033 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.919e-05/0.7308, allocations: 11.55 kB / 0.8033 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.769e-05/0.7309, allocations: 4 kB / 0.8033 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.993e-05/0.7309, allocations: 32.55 kB / 0.8033 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003134/0.7341, allocations: 2.969 MB / 0.8062 GB, free: 9.449 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006103/0.7347, allocations: 306.8 kB / 0.8065 GB, free: 9.137 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002305/0.7349, allocations: 152.8 kB / 0.8066 GB, free: 8.984 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.735, allocations: 6.625 kB / 0.8067 GB, free: 8.98 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/0.735, allocations: 38.56 kB / 0.8067 GB, free: 8.934 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=26): time 3.877e-06/0.735, allocations: 3.984 kB / 0.8067 GB, free: 8.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=27): time 0.001204/0.7362, allocations: 0.5696 MB / 0.8072 GB, free: 8.344 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.7363, allocations: 55.64 kB / 0.8073 GB, free: 8.277 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002897/0.7366, allocations: 258.2 kB / 0.8075 GB, free: 8.02 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.7366, allocations: 29.64 kB / 0.8076 GB, free: 7.984 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.7368, allocations: 232 kB / 0.8078 GB, free: 7.754 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.723e-05/0.7369, allocations: 94.59 kB / 0.8079 GB, free: 7.66 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.533e-05/0.7369, allocations: 4 kB / 0.8079 GB, free: 7.656 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.7371, allocations: 346.8 kB / 0.8082 GB, free: 7.309 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.7373, allocations: 120.7 kB / 0.8083 GB, free: 7.188 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002825/0.7376, allocations: 244.5 kB / 0.8086 GB, free: 6.895 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002422/0.7378, allocations: 169.5 kB / 0.8087 GB, free: 6.73 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.7378, allocations: 0 / 0.8087 GB, free: 6.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008644/0.7387, allocations: 484.6 kB / 0.8092 GB, free: 6.242 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.7387, allocations: 8 kB / 0.8092 GB, free: 6.234 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.7387, allocations: 4 kB / 0.8092 GB, free: 6.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003182/0.7391, allocations: 95.03 kB / 0.8093 GB, free: 6.129 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003398/0.7394, allocations: 75.89 kB / 0.8094 GB, free: 6.055 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.7394, allocations: 13.42 kB / 0.8094 GB, free: 6.043 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002798/0.7397, allocations: 19.97 kB / 0.8094 GB, free: 6.023 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.791e-05/0.7398, allocations: 20 kB / 0.8094 GB, free: 6.004 MB / 0.5105 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.0001251/0.7399, allocations: 122.7 kB / 0.8095 GB, free: 5.879 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.8e-05/0.74, allocations: 31.62 kB / 0.8096 GB, free: 5.848 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007164/0.7407, allocations: 408.7 kB / 0.81 GB, free: 5.43 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.7407, allocations: 7.953 kB / 0.81 GB, free: 5.422 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.7407, allocations: 0 / 0.81 GB, free: 5.422 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.7408, allocations: 3.984 kB / 0.81 GB, free: 5.418 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.742, allocations: 0.8712 MB / 0.8108 GB, free: 4.484 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.742, allocations: 0 / 0.8108 GB, free: 4.484 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002515/0.7423, allocations: 55.89 kB / 0.8109 GB, free: 4.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002234/0.7425, allocations: 82.61 kB / 0.811 GB, free: 4.34 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.7426, allocations: 0 / 0.811 GB, free: 4.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.7426, allocations: 7.984 kB / 0.811 GB, free: 4.332 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.7426, allocations: 3.938 kB / 0.811 GB, free: 4.328 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006713/0.7433, allocations: 0.5363 MB / 0.8115 GB, free: 3.738 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001703/0.7434, allocations: 132.6 kB / 0.8116 GB, free: 3.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.913e-05/0.7435, allocations: 2.375 kB / 0.8116 GB, free: 3.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.7437, allocations: 19.97 kB / 0.8116 GB, free: 3.57 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.319e-05/0.7438, allocations: 31.95 kB / 0.8117 GB, free: 3.539 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/0.7438, allocations: 8 kB / 0.8117 GB, free: 3.531 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001962/0.744, allocations: 200.5 kB / 0.8119 GB, free: 3.336 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.744, allocations: 0 / 0.8119 GB, free: 3.336 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004209/0.7445, allocations: 80 kB / 0.8119 GB, free: 3.258 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.0001829/0.7447, allocations: 107.2 kB / 0.812 GB, free: 3.145 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006911/0.7454, allocations: 0.5679 MB / 0.8126 GB, free: 2.512 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.7454, allocations: 0 / 0.8126 GB, free: 2.512 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003791/0.7458, allocations: 415 kB / 0.813 GB, free: 2.043 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006218/0.7464, allocations: 110.2 kB / 0.8131 GB, free: 1.938 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000945/0.7474, allocations: 0.5033 MB / 0.8136 GB, free: 1.406 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004667/0.7478, allocations: 0.8317 MB / 0.8144 GB, free: 0.543 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002816/0.7481, allocations: 84.06 kB / 0.8145 GB, free: 472 kB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.106e-05/0.7482, allocations: 27.44 kB / 0.8145 GB, free: 444 kB / 0.5105 GB Notification: Performance of SimCode: time 5.51e-07/0.7482, allocations: 0 / 0.8145 GB, free: 444 kB / 0.5105 GB Notification: Performance of Templates: time 0.009078/0.7573, allocations: 3.976 MB / 0.8184 GB, free: 12.53 MB / 0.5261 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)