Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") [/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.1873/0.1892, allocations: 80.82 MB / 0.5897 GB, free: 7.121 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02412/0.2134, allocations: 22.11 MB / 0.6113 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01186/0.2253, allocations: 6.713 MB / 0.6178 GB, free: 10.2 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00224/0.2276, allocations: 83.5 kB / 0.6179 GB, free: 10.12 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003571/0.2312, allocations: 1.408 MB / 0.6193 GB, free: 8.707 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004263/0.2354, allocations: 1.642 MB / 0.6209 GB, free: 7.059 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003045/0.2385, allocations: 1.214 MB / 0.6221 GB, free: 5.852 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.008413/0.2469, allocations: 8.763 MB / 0.6306 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00908/0.256, allocations: 6.72 MB / 0.6372 GB, free: 6.273 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003827/0.2599, allocations: 2.024 MB / 0.6392 GB, free: 4.242 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005163/0.2651, allocations: 3.014 MB / 0.6421 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008411/0.2659, allocations: 316 kB / 0.6424 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002645/0.2686, allocations: 1.139 MB / 0.6435 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.002029/0.2706, allocations: 1.855 MB / 0.6453 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002475/0.2731, allocations: 1.956 MB / 0.6473 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.008381/0.2815, allocations: 7.089 MB / 0.6542 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.2816, allocations: 4 kB / 0.6542 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.194e-06/0.2816, allocations: 0 / 0.6542 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001632/0.2817, allocations: 0 / 0.6542 GB, free: 4.832 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 904 * Number of variables: 904 Notification: Performance of Generate backend data structure: time 0.007227/0.289, allocations: 3.785 MB / 0.6579 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.289, allocations: 12.03 kB / 0.6579 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005772/0.2948, allocations: 1.198 MB / 0.6591 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004138/0.299, allocations: 2.215 MB / 0.6612 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001707/0.2992, allocations: 242.2 kB / 0.6615 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006766/0.2999, allocations: 308 kB / 0.6617 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01099/0.3109, allocations: 6.184 MB / 0.6678 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.084e-05/0.311, allocations: 23.78 kB / 0.6678 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003543/0.3114, allocations: 139.9 kB / 0.6679 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004589/0.3118, allocations: 406.2 kB / 0.6683 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007726/0.3196, allocations: 4.638 MB / 0.6729 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03034/0.3499, allocations: 22.26 MB / 0.6946 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002165/0.3522, allocations: 1.453 MB / 0.696 GB, free: 8.594 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002029/0.3542, allocations: 1.518 MB / 0.6975 GB, free: 7.074 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/0.3543, allocations: 13 kB / 0.6975 GB, free: 7.062 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.3544, allocations: 51.56 kB / 0.6976 GB, free: 7.004 MB / 0.545 GB Notification: Performance of pre-optimization done (n=110): time 4.078e-06/0.3544, allocations: 0 / 0.6976 GB, free: 7.004 MB / 0.545 GB Notification: Performance of matching and sorting (n=179): time 0.5339/0.8883, allocations: 35.92 MB / 0.7326 GB, free: 101.2 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.8884, allocations: 79.77 kB / 0.7327 GB, free: 101.1 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001781/0.8902, allocations: 1.414 MB / 0.7341 GB, free: 100.7 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002521/0.8905, allocations: 53.27 kB / 0.7341 GB, free: 100.6 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006525/0.8911, allocations: 1.524 MB / 0.7356 GB, free: 99.13 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005073/0.8916, allocations: 0.6156 MB / 0.7362 GB, free: 98.52 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006358/0.8923, allocations: 379.4 kB / 0.7366 GB, free: 98.14 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.793e-05/0.8923, allocations: 301.1 kB / 0.7369 GB, free: 97.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002203/0.8946, allocations: 1.827 MB / 0.7387 GB, free: 96.01 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002458/0.897, allocations: 2.392 MB / 0.741 GB, free: 93.38 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004416/0.9015, allocations: 4.486 MB / 0.7454 GB, free: 88.65 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/0.9015, allocations: 8 kB / 0.7454 GB, free: 88.64 MB / 0.545 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01482/0.9163, allocations: 8.52 MB / 0.7537 GB, free: 80.09 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.278e-05/0.9164, allocations: 12 kB / 0.7537 GB, free: 80.08 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.66e-05/0.9164, allocations: 16 kB / 0.7537 GB, free: 80.06 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01289/0.9293, allocations: 4.496 MB / 0.7581 GB, free: 75.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/0.9306, allocations: 300.3 kB / 0.7584 GB, free: 75.26 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03459/0.9652, allocations: 30.21 MB / 0.7879 GB, free: 44.28 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002062/0.9673, allocations: 123.9 kB / 0.788 GB, free: 44.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002103/0.9675, allocations: 88.2 kB / 0.7881 GB, free: 44.07 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * 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): 6 systems {(11,13,91.7%), (11,13,93.4%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00189/0.9694, allocations: 1.341 MB / 0.7894 GB, free: 42.72 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005184/0.9699, allocations: 197.6 kB / 0.7896 GB, free: 42.53 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01415/0.9841, allocations: 8.398 MB / 0.7978 GB, free: 34.09 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/0.9842, allocations: 20 kB / 0.7978 GB, free: 34.07 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-05/0.9842, allocations: 29.25 kB / 0.7979 GB, free: 34.04 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.707e-05/0.9843, allocations: 7.969 kB / 0.7979 GB, free: 34.03 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02023/1.004, allocations: 12.94 MB / 0.8105 GB, free: 20.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.889e-05/1.005, allocations: 11.94 kB / 0.8105 GB, free: 20.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007511/1.005, allocations: 165.7 kB / 0.8107 GB, free: 20.79 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01231/1.018, allocations: 4.362 MB / 0.8149 GB, free: 16.41 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003719/1.018, allocations: 36 kB / 0.815 GB, free: 16.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04134/1.059, allocations: 29.89 MB / 0.8442 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.166e-05/1.06, allocations: 11.94 kB / 0.8442 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01658/1.076, allocations: 8.195 MB / 0.8522 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002422/1.079, allocations: 0.6312 MB / 0.8528 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000588/1.079, allocations: 40 kB / 0.8528 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001445/1.081, allocations: 107.8 kB / 0.8529 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001126/1.082, allocations: 181.4 kB / 0.8531 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001531/1.082, allocations: 48 kB / 0.8531 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001667/1.084, allocations: 0.9627 MB / 0.8541 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/1.084, allocations: 0 / 0.8541 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004645/1.088, allocations: 1.086 MB / 0.8551 GB, free: 6.316 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,90.1%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004497/1.089, allocations: 151.8 kB / 0.8553 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.014/1.103, allocations: 6.614 MB / 0.8618 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.566e-05/1.103, allocations: 0 / 0.8618 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.01013/1.113, allocations: 4.426 MB / 0.8661 GB, free: 11 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003333/1.116, allocations: 499.2 kB / 0.8666 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01888/1.135, allocations: 8.533 MB / 0.8749 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004008/1.139, allocations: 2.73 MB / 0.8776 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001619/1.141, allocations: 402.3 kB / 0.8779 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002705/1.141, allocations: 99.44 kB / 0.878 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of SimCode: time 1.473e-06/1.141, allocations: 4 kB / 0.878 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of Templates: time 0.09292/1.234, allocations: 59.3 MB / 0.9359 GB, free: 3.699 MB / 0.6544 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)