Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [/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.2108/0.213, allocations: 80.84 MB / 0.6707 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.0522/0.2653, allocations: 37.32 MB / 0.7071 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02391/0.2892, allocations: 11.6 MB / 0.7184 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004969/0.2943, allocations: 155.3 kB / 0.7186 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.01213/0.3065, allocations: 4.349 MB / 0.7228 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.009322/0.3158, allocations: 2.316 MB / 0.7251 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.007034/0.3229, allocations: 2.15 MB / 0.7272 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0139/0.3368, allocations: 9.129 MB / 0.7361 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01619/0.353, allocations: 11.26 MB / 0.7471 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4886/0.8417, allocations: 4.013 MB / 0.751 GB, free: 22.07 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01157/0.8533, allocations: 4.539 MB / 0.7555 GB, free: 22.04 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.005327/0.8587, allocations: 0.8203 MB / 0.7563 GB, free: 22.04 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008782/0.8675, allocations: 1.583 MB / 0.7578 GB, free: 22.04 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.009898/0.8774, allocations: 3.075 MB / 0.7608 GB, free: 21.82 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01701/0.8945, allocations: 3.574 MB / 0.7643 GB, free: 20.95 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02197/0.9165, allocations: 12.17 MB / 0.7762 GB, free: 19.92 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.9165, allocations: 1 kB / 0.7762 GB, free: 19.92 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.272e-06/0.9165, allocations: 0 / 0.7762 GB, free: 19.92 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0005665/0.9171, allocations: 0 / 0.7762 GB, free: 19.92 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1512 * Number of variables: 1512 Notification: Performance of Generate backend data structure: time 0.02986/0.947, allocations: 6.282 MB / 0.7823 GB, free: 17.33 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.46e-05/0.9471, allocations: 9.656 kB / 0.7823 GB, free: 17.33 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008293/0.9554, allocations: 1.034 MB / 0.7833 GB, free: 16.84 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01107/0.9665, allocations: 3.603 MB / 0.7869 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004857/0.967, allocations: 419.5 kB / 0.7873 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002634/0.9696, allocations: 0.5415 MB / 0.7878 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01958/0.9892, allocations: 9.344 MB / 0.7969 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001341/0.9894, allocations: 26.03 kB / 0.7969 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007089/0.9901, allocations: 243.4 kB / 0.7972 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005845/0.9907, allocations: 418.4 kB / 0.7976 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01385/1.005, allocations: 7.096 MB / 0.8045 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05276/1.057, allocations: 28.23 MB / 0.8321 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005868/1.063, allocations: 3.121 MB / 0.8351 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003681/1.067, allocations: 2.158 MB / 0.8372 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002118/1.067, allocations: 22 kB / 0.8372 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001493/1.067, allocations: 56.56 kB / 0.8373 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=209): time 4.228e-06/1.067, allocations: 0 / 0.8373 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of matching and sorting (n=212): time 0.02893/1.096, allocations: 10.56 MB / 0.8476 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.401e-05/1.096, allocations: 76.69 kB / 0.8477 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004065/1.101, allocations: 2.009 MB / 0.8496 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002981/1.101, allocations: 65.7 kB / 0.8497 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001731/1.103, allocations: 2.383 MB / 0.852 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008769/1.103, allocations: 0.721 MB / 0.8527 GB, free: 9.305 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001032/1.105, allocations: 481.1 kB / 0.8532 GB, free: 8.828 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001346/1.105, allocations: 305.1 kB / 0.8535 GB, free: 8.527 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002228/1.107, allocations: 1.379 MB / 0.8548 GB, free: 7.145 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002783/1.11, allocations: 2.104 MB / 0.8569 GB, free: 4.738 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005219/1.115, allocations: 3.787 MB / 0.8606 GB, free: 0.7305 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.608e-05/1.115, allocations: 5.5 kB / 0.8606 GB, free: 0.7266 MB / 0.6231 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009584/1.125, allocations: 5.068 MB / 0.8655 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.321e-05/1.125, allocations: 16 kB / 0.8656 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-05/1.125, allocations: 24 kB / 0.8656 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003785/1.129, allocations: 1.524 MB / 0.8671 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001963/1.13, allocations: 455.5 kB / 0.8675 GB, free: 9.844 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02446/1.155, allocations: 18.58 MB / 0.8856 GB, free: 6.754 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003049/1.158, allocations: 147.8 kB / 0.8858 GB, free: 6.609 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000584/1.159, allocations: 108 kB / 0.8859 GB, free: 6.504 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,51.0%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004794/1.163, allocations: 1.946 MB / 0.8878 GB, free: 4.578 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000924/1.164, allocations: 288.7 kB / 0.8881 GB, free: 4.293 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008264/1.173, allocations: 4.462 MB / 0.8924 GB, free: 15.86 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-05/1.173, allocations: 27.94 kB / 0.8925 GB, free: 15.83 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-05/1.173, allocations: 16 kB / 0.8925 GB, free: 15.82 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.192e-05/1.173, allocations: 9.844 kB / 0.8925 GB, free: 15.81 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02472/1.198, allocations: 9.722 MB / 0.902 GB, free: 6.066 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.095e-05/1.198, allocations: 4 kB / 0.902 GB, free: 6.062 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/1.199, allocations: 230.6 kB / 0.9022 GB, free: 5.848 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003562/1.202, allocations: 1.424 MB / 0.9036 GB, free: 4.414 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002677/1.203, allocations: 40.09 kB / 0.9036 GB, free: 4.375 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02386/1.227, allocations: 18.57 MB / 0.9218 GB, free: 1.285 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/1.227, allocations: 7.469 kB / 0.9218 GB, free: 1.281 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008974/1.236, allocations: 4.551 MB / 0.9262 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002528/1.238, allocations: 0.6304 MB / 0.9268 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009075/1.239, allocations: 40 kB / 0.9269 GB, free: 12.01 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001964/1.241, allocations: 112.1 kB / 0.927 GB, free: 11.9 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005795/1.242, allocations: 185.2 kB / 0.9272 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002097/1.242, allocations: 67.94 kB / 0.9272 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002929/1.245, allocations: 1.323 MB / 0.9285 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.31e-07/1.245, allocations: 0 / 0.9285 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.005517/1.25, allocations: 1.102 MB / 0.9296 GB, free: 9.23 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004779/1.251, allocations: 162 kB / 0.9297 GB, free: 9.074 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.008698/1.26, allocations: 4.731 MB / 0.9344 GB, free: 4.371 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-05/1.26, allocations: 4 kB / 0.9344 GB, free: 4.367 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.005239/1.265, allocations: 2.916 MB / 0.9372 GB, free: 1.441 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00604/1.271, allocations: 0.8852 MB / 0.9381 GB, free: 0.5898 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02298/1.294, allocations: 9.458 MB / 0.9473 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006222/1.3, allocations: 3.705 MB / 0.9509 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002359/1.303, allocations: 0.5674 MB / 0.9515 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004058/1.303, allocations: 147.4 kB / 0.9516 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of SimCode: time 9.02e-07/1.303, allocations: 0 / 0.9516 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of Templates: time 0.09617/1.399, allocations: 52.16 MB / 1.003 GB, free: 15.32 MB / 0.7794 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)