Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7028/0.7028, allocations: 132.3 MB / 144.9 MB, free: 10.53 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.001058/0.001058, allocations: 179.5 kB / 176.9 MB, free: 2.293 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.352/1.352, allocations: 170.5 MB / 379.3 MB, free: 11.85 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.001733/0.001733, allocations: 122.3 kB / 450 MB, free: 5.828 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.4326/0.4326, allocations: 73.39 MB / 0.6736 GB, free: 47.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1484/0.5811, allocations: 117.3 MB / 0.7882 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002213/0.5814, allocations: 94.14 kB / 0.7883 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.06837/0.6497, allocations: 30.41 MB / 0.818 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.833e-06/0.6498, allocations: 0 / 0.818 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.95e-05/0.6499, allocations: 23.98 kB / 0.818 GB, free: 0.6953 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001234/0.6511, allocations: 0.7765 MB / 0.8187 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.6512, allocations: 16.02 kB / 0.8188 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/0.6524, allocations: 201.7 kB / 0.8189 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007169/0.6531, allocations: 480.4 kB / 0.8194 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.6531, allocations: 29 kB / 0.8194 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.416e-05/0.6532, allocations: 43.98 kB / 0.8195 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.6543, allocations: 0.9079 MB / 0.8204 GB, free: 14 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/0.6543, allocations: 15.86 kB / 0.8204 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.21e-05/0.6544, allocations: 23.98 kB / 0.8204 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.515e-05/0.6545, allocations: 48.75 kB / 0.8204 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007387/0.6552, allocations: 0.5414 MB / 0.821 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003818/0.659, allocations: 5.14 MB / 0.826 GB, free: 7.953 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005583/0.6596, allocations: 450.3 kB / 0.8264 GB, free: 7.504 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000272/0.6599, allocations: 220.8 kB / 0.8266 GB, free: 7.285 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.6599, allocations: 4 kB / 0.8266 GB, free: 7.281 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.6599, allocations: 38.55 kB / 0.8267 GB, free: 7.234 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=32): time 2.826e-06/0.66, allocations: 4 kB / 0.8267 GB, free: 7.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.001388/0.6614, allocations: 0.8441 MB / 0.8275 GB, free: 6.363 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.6614, allocations: 51.41 kB / 0.8276 GB, free: 6.301 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004098/0.6618, allocations: 432.9 kB / 0.828 GB, free: 5.867 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.6618, allocations: 33.7 kB / 0.828 GB, free: 5.828 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001857/0.662, allocations: 331.2 kB / 0.8283 GB, free: 5.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.125e-05/0.6621, allocations: 118.3 kB / 0.8284 GB, free: 5.383 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.052e-05/0.6622, allocations: 12 kB / 0.8284 GB, free: 5.371 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.6623, allocations: 370.7 kB / 0.8288 GB, free: 5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002554/0.6626, allocations: 185.1 kB / 0.829 GB, free: 4.82 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003755/0.6629, allocations: 401.8 kB / 0.8293 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003243/0.6633, allocations: 255.9 kB / 0.8296 GB, free: 4.074 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.6633, allocations: 4 kB / 0.8296 GB, free: 4.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001084/0.6644, allocations: 0.7621 MB / 0.8303 GB, free: 3.285 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.6644, allocations: 8 kB / 0.8303 GB, free: 3.277 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.6644, allocations: 11.95 kB / 0.8304 GB, free: 3.266 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004506/0.6649, allocations: 152.9 kB / 0.8305 GB, free: 3.102 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003991/0.6653, allocations: 111.8 kB / 0.8306 GB, free: 2.992 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002807/0.6681, allocations: 4.025 MB / 0.8345 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003376/0.6685, allocations: 35.97 kB / 0.8346 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.44e-05/0.6685, allocations: 24 kB / 0.8346 GB, free: 14.51 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001238/0.6686, allocations: 138.3 kB / 0.8347 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.723e-05/0.6687, allocations: 67.39 kB / 0.8348 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009824/0.6697, allocations: 0.5971 MB / 0.8354 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.6697, allocations: 4 kB / 0.8354 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.6697, allocations: 4 kB / 0.8354 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.6697, allocations: 3.938 kB / 0.8354 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/0.6714, allocations: 1.254 MB / 0.8366 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.6714, allocations: 4 kB / 0.8366 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000243/0.6717, allocations: 55.89 kB / 0.8367 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003689/0.6721, allocations: 144.3 kB / 0.8368 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.6721, allocations: 8 kB / 0.8368 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002761/0.6749, allocations: 4.017 MB / 0.8407 GB, free: 7.684 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.6749, allocations: 4.031 kB / 0.8407 GB, free: 7.68 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009631/0.6759, allocations: 0.7857 MB / 0.8415 GB, free: 6.797 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002282/0.6761, allocations: 164.3 kB / 0.8417 GB, free: 6.617 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.388e-05/0.6762, allocations: 8 kB / 0.8417 GB, free: 6.609 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.6764, allocations: 23.97 kB / 0.8417 GB, free: 6.586 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.173e-05/0.6765, allocations: 43.84 kB / 0.8417 GB, free: 6.543 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.6765, allocations: 8 kB / 0.8417 GB, free: 6.535 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003095/0.6768, allocations: 325.5 kB / 0.8421 GB, free: 6.219 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6768, allocations: 0 / 0.8421 GB, free: 6.219 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005533/0.6774, allocations: 148 kB / 0.8422 GB, free: 6.074 MB / 0.5417 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000171/0.6776, allocations: 120.4 kB / 0.8423 GB, free: 5.949 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001256/0.6788, allocations: 1.003 MB / 0.8433 GB, free: 4.867 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.6789, allocations: 0 / 0.8433 GB, free: 4.867 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0007712/0.6796, allocations: 0.7306 MB / 0.844 GB, free: 4.055 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007865/0.6804, allocations: 178 kB / 0.8442 GB, free: 3.883 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.6815, allocations: 0.7457 MB / 0.8449 GB, free: 3.09 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004453/0.682, allocations: 0.918 MB / 0.8458 GB, free: 2.145 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000317/0.6823, allocations: 120.4 kB / 0.8459 GB, free: 2.031 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.828e-05/0.6824, allocations: 39.44 kB / 0.846 GB, free: 1.992 MB / 0.5417 GB Notification: Performance of SimCode: time 7.92e-07/0.6824, allocations: 0 / 0.846 GB, free: 1.992 MB / 0.5417 GB Notification: Performance of Templates: time 0.01218/0.6946, allocations: 7.039 MB / 0.8528 GB, free: 11.04 MB / 0.5573 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)