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_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [/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.2089/0.21, allocations: 82.22 MB / 0.5941 GB, free: 5.582 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.007716/0.2178, allocations: 6.203 MB / 0.6002 GB, free: 15.35 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005556/0.2234, allocations: 3.212 MB / 0.6033 GB, free: 12.12 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008287/0.2242, allocations: 23.81 kB / 0.6033 GB, free: 12.1 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006339/0.2249, allocations: 134.9 kB / 0.6035 GB, free: 11.96 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001881/0.2268, allocations: 0.4977 MB / 0.604 GB, free: 11.46 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.2281, allocations: 394.4 kB / 0.6043 GB, free: 11.09 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002346/0.2305, allocations: 1.568 MB / 0.6059 GB, free: 9.516 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002398/0.2329, allocations: 1.004 MB / 0.6068 GB, free: 8.488 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001078/0.234, allocations: 386.3 kB / 0.6072 GB, free: 8.109 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001205/0.2352, allocations: 0.5136 MB / 0.6077 GB, free: 7.594 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002002/0.2354, allocations: 36 kB / 0.6078 GB, free: 7.559 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001163/0.2366, allocations: 439.1 kB / 0.6082 GB, free: 7.129 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004462/0.2371, allocations: 263.2 kB / 0.6084 GB, free: 6.871 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000785/0.2379, allocations: 423.5 kB / 0.6088 GB, free: 6.449 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00177/0.2396, allocations: 1.168 MB / 0.61 GB, free: 5.277 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.2397, allocations: 0 / 0.61 GB, free: 5.277 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2397, allocations: 0 / 0.61 GB, free: 5.277 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.321e-05/0.2397, allocations: 0 / 0.61 GB, free: 5.277 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.002565/0.2423, allocations: 0.9933 MB / 0.6109 GB, free: 4.234 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/0.2424, allocations: 15.97 kB / 0.6109 GB, free: 4.219 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001835/0.2442, allocations: 239.6 kB / 0.6112 GB, free: 3.984 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009917/0.2452, allocations: 0.5414 MB / 0.6117 GB, free: 3.402 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.516e-05/0.2453, allocations: 41.69 kB / 0.6117 GB, free: 3.359 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/0.2454, allocations: 60.36 kB / 0.6118 GB, free: 3.301 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001891/0.2473, allocations: 1.085 MB / 0.6129 GB, free: 2.109 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.203e-05/0.2474, allocations: 7.938 kB / 0.6129 GB, free: 2.102 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.705e-05/0.2475, allocations: 31.98 kB / 0.6129 GB, free: 2.07 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001702/0.2476, allocations: 85.25 kB / 0.613 GB, free: 1.988 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001301/0.249, allocations: 0.7387 MB / 0.6137 GB, free: 1.25 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005708/0.2547, allocations: 4.874 MB / 0.6185 GB, free: 12.19 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.2557, allocations: 0.557 MB / 0.619 GB, free: 11.62 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006339/0.2564, allocations: 326 kB / 0.6193 GB, free: 11.3 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.871e-05/0.2564, allocations: 4.438 kB / 0.6193 GB, free: 11.3 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.137e-05/0.2565, allocations: 46.98 kB / 0.6194 GB, free: 11.25 MB / 478.1 MB Notification: Performance of pre-optimization done (n=47): time 2.926e-06/0.2565, allocations: 0 / 0.6194 GB, free: 11.25 MB / 478.1 MB Notification: Performance of matching and sorting (n=48): time 0.004412/0.2609, allocations: 2.002 MB / 0.6213 GB, free: 9.148 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.261, allocations: 55.84 kB / 0.6214 GB, free: 9.082 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007258/0.2617, allocations: 0.5508 MB / 0.6219 GB, free: 8.52 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.046e-05/0.2618, allocations: 41.64 kB / 0.622 GB, free: 8.473 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002979/0.2621, allocations: 411 kB / 0.6223 GB, free: 8.062 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/0.2622, allocations: 165.6 kB / 0.6225 GB, free: 7.898 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.14e-05/0.2623, allocations: 57.69 kB / 0.6226 GB, free: 7.836 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.2625, allocations: 378.8 kB / 0.6229 GB, free: 7.457 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004179/0.2629, allocations: 277.8 kB / 0.6232 GB, free: 7.184 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005462/0.2635, allocations: 493 kB / 0.6237 GB, free: 6.605 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.2647, allocations: 0.8171 MB / 0.6245 GB, free: 5.695 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.114e-06/0.2647, allocations: 3.938 kB / 0.6245 GB, free: 5.691 MB / 478.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001981/0.2667, allocations: 1.087 MB / 0.6255 GB, free: 4.582 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.2668, allocations: 8 kB / 0.6255 GB, free: 4.574 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/0.2668, allocations: 11.94 kB / 0.6255 GB, free: 4.562 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008321/0.2676, allocations: 279.8 kB / 0.6258 GB, free: 4.277 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004682/0.2681, allocations: 123.8 kB / 0.6259 GB, free: 4.156 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006172/0.2743, allocations: 6.607 MB / 0.6324 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006024/0.2749, allocations: 35.97 kB / 0.6324 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.024e-05/0.275, allocations: 28 kB / 0.6324 GB, free: 12.96 MB / 494.1 MB 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 (67): * Single equations (assignments): 63 * 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 {(2,6,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.0003988/0.2754, allocations: 262.3 kB / 0.6327 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.2755, allocations: 75.09 kB / 0.6328 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001602/0.2772, allocations: 0.8847 MB / 0.6336 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.2772, allocations: 4 kB / 0.6336 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.2772, allocations: 7.938 kB / 0.6336 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.2772, allocations: 3.984 kB / 0.6336 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002743/0.2799, allocations: 1.732 MB / 0.6353 GB, free: 9.875 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.28, allocations: 8.031 kB / 0.6353 GB, free: 9.867 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002635/0.2802, allocations: 59.89 kB / 0.6354 GB, free: 9.809 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007533/0.281, allocations: 271.2 kB / 0.6357 GB, free: 9.531 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.253e-05/0.2811, allocations: 11.94 kB / 0.6357 GB, free: 9.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006439/0.2875, allocations: 6.595 MB / 0.6421 GB, free: 2.391 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2876, allocations: 0 / 0.6421 GB, free: 2.391 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001776/0.2893, allocations: 0.9874 MB / 0.6431 GB, free: 1.355 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003987/0.2898, allocations: 188.3 kB / 0.6432 GB, free: 1.152 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.2899, allocations: 12 kB / 0.6433 GB, free: 1.141 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004175/0.2903, allocations: 23.97 kB / 0.6433 GB, free: 1.117 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.2905, allocations: 51.81 kB / 0.6433 GB, free: 1.066 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.456e-05/0.2905, allocations: 16 kB / 0.6433 GB, free: 1.051 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005155/0.291, allocations: 383.1 kB / 0.6437 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.291, allocations: 0 / 0.6437 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009456/0.292, allocations: 220 kB / 0.6439 GB, free: 476 kB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000184/0.2922, allocations: 111.2 kB / 0.644 GB, free: 356 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002108/0.2943, allocations: 1.275 MB / 0.6453 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.2943, allocations: 0 / 0.6453 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001315/0.2956, allocations: 0.8971 MB / 0.6461 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/0.297, allocations: 204.3 kB / 0.6463 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003023/0.3, allocations: 1.693 MB / 0.648 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008223/0.3009, allocations: 1.009 MB / 0.649 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005074/0.3014, allocations: 126 kB / 0.6491 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.3015, allocations: 43.38 kB / 0.6491 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of SimCode: time 6.51e-07/0.3015, allocations: 0 / 0.6491 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of Templates: time 0.02069/0.3222, allocations: 10.58 MB / 0.6595 GB, free: 0.5039 MB / 0.4981 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) Environment - environmentSimulation: