Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") [/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.2322/0.2343, allocations: 80.83 MB / 0.6706 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01897/0.2534, allocations: 10.69 MB / 0.6811 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01661/0.27, allocations: 9.002 MB / 0.6899 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002187/0.2723, allocations: 55.69 kB / 0.6899 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.4585/0.7308, allocations: 1.656 MB / 0.6915 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.007047/0.7379, allocations: 1.599 MB / 0.6931 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002587/0.7405, allocations: 0.6588 MB / 0.6937 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.004515/0.7451, allocations: 2.246 MB / 0.6959 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002917/0.748, allocations: 1.355 MB / 0.6972 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003371/0.7514, allocations: 0.9954 MB / 0.6982 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002135/0.7535, allocations: 1.025 MB / 0.6992 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000233/0.7538, allocations: 134.8 kB / 0.6993 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002559/0.7563, allocations: 0.7987 MB / 0.7001 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000844/0.7572, allocations: 0.5531 MB / 0.7007 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001138/0.7583, allocations: 0.8562 MB / 0.7015 GB, free: 5.852 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004938/0.7633, allocations: 2.527 MB / 0.704 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.7633, allocations: 2.25 kB / 0.704 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.505e-06/0.7633, allocations: 0.75 kB / 0.704 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.279e-05/0.7634, allocations: 0 / 0.704 GB, free: 5.477 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.005251/0.7687, allocations: 1.991 MB / 0.7059 GB, free: 4.453 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.7688, allocations: 13.78 kB / 0.7059 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01276/0.7815, allocations: 2.048 MB / 0.7079 GB, free: 4.348 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003695/0.7853, allocations: 1.197 MB / 0.7091 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/0.7854, allocations: 80.84 kB / 0.7092 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003814/0.7858, allocations: 122.7 kB / 0.7093 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007436/0.7932, allocations: 2.448 MB / 0.7117 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.437e-05/0.7933, allocations: 4.828 kB / 0.7117 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001893/0.7935, allocations: 50.72 kB / 0.7117 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004146/0.7939, allocations: 133.1 kB / 0.7119 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008086/0.802, allocations: 2.522 MB / 0.7143 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01639/0.8185, allocations: 8.422 MB / 0.7226 GB, free: 13.9 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007221/0.8257, allocations: 1.953 MB / 0.7245 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003257/0.829, allocations: 0.9796 MB / 0.7254 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.858e-05/0.8292, allocations: 8.641 kB / 0.7254 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.601e-05/0.8292, allocations: 40.03 kB / 0.7255 GB, free: 12.31 MB / 0.545 GB Notification: Performance of pre-optimization done (n=53): time 4.328e-06/0.8292, allocations: 0 / 0.7255 GB, free: 12.31 MB / 0.545 GB Notification: Performance of matching and sorting (n=81): time 0.03493/0.8642, allocations: 8.696 MB / 0.734 GB, free: 8.016 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/0.8643, allocations: 59.78 kB / 0.734 GB, free: 7.953 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002149/0.8664, allocations: 1.094 MB / 0.7351 GB, free: 7.348 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002482/0.8667, allocations: 37.92 kB / 0.7351 GB, free: 7.309 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006586/0.8674, allocations: 0.7278 MB / 0.7358 GB, free: 6.664 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003664/0.8678, allocations: 277.5 kB / 0.7361 GB, free: 6.43 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004876/0.8682, allocations: 205.2 kB / 0.7363 GB, free: 6.312 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.8684, allocations: 343 kB / 0.7366 GB, free: 5.984 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003088/0.8715, allocations: 1.072 MB / 0.7377 GB, free: 5.438 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003418/0.8749, allocations: 1.313 MB / 0.7389 GB, free: 4.59 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006482/0.8814, allocations: 2.385 MB / 0.7413 GB, free: 3.188 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/0.8815, allocations: 6.875 kB / 0.7413 GB, free: 3.184 MB / 0.545 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01014/0.8916, allocations: 3.273 MB / 0.7445 GB, free: 1.398 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.113e-05/0.8917, allocations: 13.19 kB / 0.7445 GB, free: 1.395 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.052e-05/0.8918, allocations: 7.969 kB / 0.7445 GB, free: 1.395 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003202/0.895, allocations: 0.7928 MB / 0.7453 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00233/0.8974, allocations: 420.1 kB / 0.7457 GB, free: 496 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01601/0.9134, allocations: 15.92 MB / 0.7612 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002771/0.9162, allocations: 283.5 kB / 0.7615 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001773/0.9164, allocations: 55.95 kB / 0.7615 GB, free: 15.14 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009415/0.9174, allocations: 397.7 kB / 0.7619 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003488/0.9177, allocations: 142.3 kB / 0.7621 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008833/0.9265, allocations: 3.212 MB / 0.7652 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.659e-05/0.9266, allocations: 8 kB / 0.7652 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.699e-05/0.9266, allocations: 11.94 kB / 0.7652 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.367e-05/0.9267, allocations: 7.984 kB / 0.7652 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01201/0.9387, allocations: 4.912 MB / 0.77 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/0.9387, allocations: 4 kB / 0.77 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001777/0.9405, allocations: 351.4 kB / 0.7704 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002445/0.943, allocations: 0.6961 MB / 0.771 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001249/0.9431, allocations: 31.97 kB / 0.7711 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01668/0.9598, allocations: 15.55 MB / 0.7863 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.9599, allocations: 4.422 kB / 0.7863 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01037/0.9702, allocations: 3.051 MB / 0.7892 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001851/0.9722, allocations: 383.2 kB / 0.7896 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007746/0.973, allocations: 16 kB / 0.7896 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002468/0.9755, allocations: 294.9 kB / 0.7899 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004746/0.976, allocations: 80.44 kB / 0.79 GB, free: 0.6484 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001178/0.9761, allocations: 43.95 kB / 0.79 GB, free: 0.6055 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00166/0.9778, allocations: 0.7366 MB / 0.7907 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7.01e-07/0.9778, allocations: 0 / 0.7907 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002938/0.9807, allocations: 428 kB / 0.7911 GB, free: 15.45 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004263/0.9812, allocations: 132.1 kB / 0.7913 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00986/0.991, allocations: 3.633 MB / 0.7948 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 9.829e-06/0.9911, allocations: 0 / 0.7948 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.005482/0.9966, allocations: 2.367 MB / 0.7971 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003578/1, allocations: 0.5221 MB / 0.7976 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009275/1.009, allocations: 3.459 MB / 0.801 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001646/1.011, allocations: 1.38 MB / 0.8024 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001788/1.013, allocations: 379.9 kB / 0.8027 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004807/1.013, allocations: 99.38 kB / 0.8028 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of SimCode: time 2.454e-06/1.014, allocations: 0 / 0.8028 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of Templates: time 0.05803/1.072, allocations: 30.58 MB / 0.8327 GB, free: 5.012 MB / 0.6387 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)