Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.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.DC.Lines.Examples.DCLine,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine") [/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.2421/0.2432, allocations: 82.22 MB / 0.5941 GB, free: 5.586 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.006933/0.2502, allocations: 5.802 MB / 0.5998 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006899/0.2572, allocations: 4.586 MB / 0.6043 GB, free: 11.15 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000923/0.2581, allocations: 23.88 kB / 0.6043 GB, free: 11.12 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008026/0.259, allocations: 150.9 kB / 0.6044 GB, free: 10.98 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002767/0.2618, allocations: 0.7306 MB / 0.6051 GB, free: 10.25 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008753/0.2627, allocations: 283.6 kB / 0.6054 GB, free: 9.969 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002045/0.2647, allocations: 1.448 MB / 0.6068 GB, free: 8.516 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009431/0.2657, allocations: 0.538 MB / 0.6074 GB, free: 7.953 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008191/0.2665, allocations: 394.4 kB / 0.6077 GB, free: 7.566 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001009/0.2675, allocations: 490 kB / 0.6082 GB, free: 7.086 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001542/0.2677, allocations: 32 kB / 0.6082 GB, free: 7.055 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007565/0.2685, allocations: 311.4 kB / 0.6085 GB, free: 6.75 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002625/0.2687, allocations: 203.3 kB / 0.6087 GB, free: 6.551 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005591/0.2693, allocations: 383.7 kB / 0.6091 GB, free: 6.168 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001245/0.2706, allocations: 1.028 MB / 0.6101 GB, free: 5.137 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2706, allocations: 0 / 0.6101 GB, free: 5.137 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2706, allocations: 0 / 0.6101 GB, free: 5.137 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.352e-05/0.2706, allocations: 0 / 0.6101 GB, free: 5.137 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002056/0.2727, allocations: 0.9699 MB / 0.611 GB, free: 4.113 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.2727, allocations: 15.97 kB / 0.611 GB, free: 4.098 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003442/0.2762, allocations: 0.6437 MB / 0.6117 GB, free: 3.453 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.2772, allocations: 0.5385 MB / 0.6122 GB, free: 2.871 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.132e-05/0.2773, allocations: 45.23 kB / 0.6122 GB, free: 2.828 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.2775, allocations: 48 kB / 0.6123 GB, free: 2.781 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002142/0.2796, allocations: 1.026 MB / 0.6133 GB, free: 1.711 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.2796, allocations: 0 / 0.6133 GB, free: 1.711 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.509e-05/0.2797, allocations: 27.97 kB / 0.6133 GB, free: 1.684 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.808e-05/0.2798, allocations: 45.3 kB / 0.6134 GB, free: 1.637 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002441/0.2822, allocations: 1.02 MB / 0.6144 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004197/0.2865, allocations: 2.76 MB / 0.6171 GB, free: 13.74 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/0.288, allocations: 0.514 MB / 0.6176 GB, free: 13.21 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005782/0.2885, allocations: 244.7 kB / 0.6178 GB, free: 12.97 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.44e-05/0.2886, allocations: 11.92 kB / 0.6178 GB, free: 12.96 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.2886, allocations: 46.48 kB / 0.6178 GB, free: 12.91 MB / 478.1 MB Notification: Performance of pre-optimization done (n=31): time 1.763e-06/0.2886, allocations: 0 / 0.6178 GB, free: 12.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=43): time 0.007049/0.2957, allocations: 2.228 MB / 0.62 GB, free: 10.63 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.2958, allocations: 63.39 kB / 0.6201 GB, free: 10.56 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006884/0.2965, allocations: 0.5549 MB / 0.6206 GB, free: 9.992 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.469e-05/0.2965, allocations: 37.7 kB / 0.6207 GB, free: 9.949 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002507/0.2968, allocations: 360.1 kB / 0.621 GB, free: 9.594 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/0.2969, allocations: 145.8 kB / 0.6211 GB, free: 9.449 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.412e-05/0.297, allocations: 49.69 kB / 0.6212 GB, free: 9.395 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.2972, allocations: 370.7 kB / 0.6215 GB, free: 9.023 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007191/0.2979, allocations: 280.9 kB / 0.6218 GB, free: 8.75 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007283/0.2986, allocations: 385.8 kB / 0.6222 GB, free: 8.328 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/0.3001, allocations: 0.6662 MB / 0.6228 GB, free: 7.621 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.3001, allocations: 0 / 0.6228 GB, free: 7.621 MB / 478.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002477/0.3026, allocations: 0.9819 MB / 0.6238 GB, free: 6.613 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001148/0.3027, allocations: 184.5 kB / 0.624 GB, free: 6.387 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.3027, allocations: 0 / 0.624 GB, free: 6.387 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001159/0.3039, allocations: 276.9 kB / 0.6242 GB, free: 6.098 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006236/0.3045, allocations: 127.8 kB / 0.6243 GB, free: 5.973 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007339/0.3119, allocations: 8.488 MB / 0.6326 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006818/0.3126, allocations: 56.02 kB / 0.6327 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.505e-05/0.3127, allocations: 23.98 kB / 0.6327 GB, free: 12.62 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.716e-06/0.3127, allocations: 4 kB / 0.6327 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002412/0.3151, allocations: 1.085 MB / 0.6338 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.3151, allocations: 4 kB / 0.6338 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007597/0.3159, allocations: 217.2 kB / 0.634 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006602/0.3166, allocations: 132 kB / 0.6341 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00635/0.3229, allocations: 8.175 MB / 0.6421 GB, free: 2.117 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008218/0.3238, allocations: 51.95 kB / 0.6421 GB, free: 2.066 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.482e-05/0.3239, allocations: 24.05 kB / 0.6422 GB, free: 2.043 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004789/0.3244, allocations: 314 kB / 0.6425 GB, free: 1.727 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001659/0.3246, allocations: 63.25 kB / 0.6425 GB, free: 1.664 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002084/0.3248, allocations: 82.38 kB / 0.6426 GB, free: 1.582 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.3248, allocations: 4 kB / 0.6426 GB, free: 1.578 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/0.3248, allocations: 11.92 kB / 0.6426 GB, free: 1.566 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.3248, allocations: 0 / 0.6426 GB, free: 1.566 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009317/0.3258, allocations: 0.6455 MB / 0.6433 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.3258, allocations: 0 / 0.6433 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005115/0.3263, allocations: 99.86 kB / 0.6433 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001005/0.3273, allocations: 265 kB / 0.6436 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.274e-05/0.3274, allocations: 8 kB / 0.6436 GB, free: 500 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00655/0.3339, allocations: 8.423 MB / 0.6518 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.334, allocations: 3.984 kB / 0.6518 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002366/0.3363, allocations: 0.9561 MB / 0.6528 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000384/0.3367, allocations: 188.2 kB / 0.653 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.3369, allocations: 12 kB / 0.653 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005495/0.3374, allocations: 55.89 kB / 0.653 GB, free: 6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.3376, allocations: 35.94 kB / 0.6531 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-05/0.3376, allocations: 12 kB / 0.6531 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005066/0.3381, allocations: 403.1 kB / 0.6534 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.9e-07/0.3381, allocations: 0 / 0.6534 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001203/0.3393, allocations: 292 kB / 0.6537 GB, free: 5.281 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001695/0.3395, allocations: 115.2 kB / 0.6538 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004137/0.3437, allocations: 2.42 MB / 0.6562 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.3437, allocations: 0 / 0.6562 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001383/0.3451, allocations: 1.023 MB / 0.6572 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.3463, allocations: 217 kB / 0.6574 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002869/0.3492, allocations: 1.632 MB / 0.659 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006636/0.3498, allocations: 0.9897 MB / 0.66 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006215/0.3505, allocations: 153.4 kB / 0.6601 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.3506, allocations: 47.42 kB / 0.6602 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of SimCode: time 1.172e-06/0.3506, allocations: 0 / 0.6602 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of Templates: time 0.02175/0.3724, allocations: 12.81 MB / 0.6727 GB, free: 1.746 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1) Environment - environmentSimulation: