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.1869/0.1883, allocations: 82.21 MB / 0.5941 GB, free: 5.562 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02457/0.2129, allocations: 21.46 MB / 0.6151 GB, free: 20 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0129/0.2259, allocations: 6.643 MB / 0.6216 GB, free: 9.359 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00273/0.2287, allocations: 75.56 kB / 0.6216 GB, free: 9.285 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002033/0.2307, allocations: 436.7 kB / 0.6221 GB, free: 8.855 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005693/0.2365, allocations: 1.642 MB / 0.6237 GB, free: 7.207 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004247/0.2407, allocations: 1.087 MB / 0.6247 GB, free: 6.121 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01202/0.2528, allocations: 8.763 MB / 0.6333 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01278/0.2656, allocations: 7.158 MB / 0.6403 GB, free: 6.102 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004228/0.2698, allocations: 1.747 MB / 0.642 GB, free: 4.348 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005134/0.275, allocations: 2.648 MB / 0.6446 GB, free: 1.691 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001277/0.2763, allocations: 204 kB / 0.6448 GB, free: 1.492 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003423/0.2798, allocations: 1.018 MB / 0.6458 GB, free: 484 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003526/0.2833, allocations: 1.68 MB / 0.6474 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.004763/0.2881, allocations: 1.774 MB / 0.6491 GB, free: 13 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01065/0.2988, allocations: 6.884 MB / 0.6558 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.011e-05/0.2988, allocations: 0 / 0.6558 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.545e-06/0.2988, allocations: 3.938 kB / 0.6559 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0002991/0.2991, allocations: 4 kB / 0.6559 GB, free: 6.086 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.008566/0.3077, allocations: 3.052 MB / 0.6588 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.3078, allocations: 8.031 kB / 0.6588 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00695/0.3147, allocations: 1.19 MB / 0.66 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00549/0.3202, allocations: 2.215 MB / 0.6622 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002844/0.3205, allocations: 238.2 kB / 0.6624 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001449/0.322, allocations: 315.8 kB / 0.6627 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01722/0.3393, allocations: 6.18 MB / 0.6687 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001999/0.3395, allocations: 23.84 kB / 0.6688 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001203/0.3407, allocations: 140 kB / 0.6689 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006363/0.3414, allocations: 402.2 kB / 0.6693 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0108/0.3522, allocations: 4.642 MB / 0.6738 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4434/0.7957, allocations: 22.15 MB / 0.6954 GB, free: 78.98 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001998/0.7977, allocations: 1.448 MB / 0.6969 GB, free: 78.95 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001607/0.7994, allocations: 1.52 MB / 0.6983 GB, free: 78.94 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.645e-05/0.7995, allocations: 12.86 kB / 0.6984 GB, free: 78.94 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.7995, allocations: 51.72 kB / 0.6984 GB, free: 78.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=110): time 3.156e-06/0.7995, allocations: 1.969 kB / 0.6984 GB, free: 78.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=179): time 0.1362/0.9357, allocations: 35 MB / 0.7326 GB, free: 67.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.9358, allocations: 69.41 kB / 0.7327 GB, free: 67.02 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00204/0.9379, allocations: 1.419 MB / 0.734 GB, free: 65.59 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003322/0.9382, allocations: 49.7 kB / 0.7341 GB, free: 65.54 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007419/0.939, allocations: 1.529 MB / 0.7356 GB, free: 64 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006331/0.9396, allocations: 0.603 MB / 0.7362 GB, free: 63.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003588/0.94, allocations: 165.7 kB / 0.7363 GB, free: 63.23 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.213e-05/0.9401, allocations: 301.1 kB / 0.7366 GB, free: 62.93 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002308/0.9424, allocations: 1.823 MB / 0.7384 GB, free: 61.11 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002484/0.9449, allocations: 2.397 MB / 0.7407 GB, free: 58.46 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004846/0.9497, allocations: 4.493 MB / 0.7451 GB, free: 53.73 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-05/0.9498, allocations: 4 kB / 0.7451 GB, free: 53.72 MB / 0.5294 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01621/0.966, allocations: 8.514 MB / 0.7534 GB, free: 45.18 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.852e-05/0.966, allocations: 12 kB / 0.7535 GB, free: 45.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.323e-05/0.9661, allocations: 20 kB / 0.7535 GB, free: 45.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01349/0.9796, allocations: 4.5 MB / 0.7579 GB, free: 40.63 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/0.981, allocations: 299.5 kB / 0.7582 GB, free: 40.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03993/1.021, allocations: 30.04 MB / 0.7875 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002307/1.023, allocations: 127.9 kB / 0.7876 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003506/1.024, allocations: 80 kB / 0.7877 GB, free: 9.312 MB / 0.5294 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.002252/1.026, allocations: 1.345 MB / 0.789 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004936/1.026, allocations: 198.3 kB / 0.7892 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01677/1.043, allocations: 8.394 MB / 0.7974 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.702e-05/1.043, allocations: 20 kB / 0.7974 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001015/1.043, allocations: 24 kB / 0.7974 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.049e-05/1.043, allocations: 7.969 kB / 0.7974 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02749/1.071, allocations: 12.96 MB / 0.8101 GB, free: 2.188 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.69e-05/1.071, allocations: 8.875 kB / 0.8101 GB, free: 2.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007857/1.072, allocations: 160.6 kB / 0.8103 GB, free: 2.023 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01498/1.087, allocations: 4.353 MB / 0.8145 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004422/1.087, allocations: 40 kB / 0.8145 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04844/1.136, allocations: 29.7 MB / 0.8435 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.448e-06/1.136, allocations: 11.94 kB / 0.8436 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01828/1.154, allocations: 8.198 MB / 0.8516 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001693/1.156, allocations: 0.6351 MB / 0.8522 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007165/1.157, allocations: 43.98 kB / 0.8522 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002014/1.159, allocations: 107.9 kB / 0.8523 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001066/1.16, allocations: 180.8 kB / 0.8525 GB, free: 5.789 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000225/1.16, allocations: 45.08 kB / 0.8525 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002108/1.162, allocations: 0.9549 MB / 0.8535 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.92e-07/1.162, allocations: 4 kB / 0.8535 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.005122/1.167, allocations: 1.086 MB / 0.8545 GB, free: 3.707 MB / 0.5919 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.0004791/1.168, allocations: 159 kB / 0.8547 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01347/1.181, allocations: 6.533 MB / 0.8611 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/1.181, allocations: 0 / 0.8611 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.009871/1.191, allocations: 4.356 MB / 0.8653 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004702/1.196, allocations: 491.5 kB / 0.8658 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0186/1.214, allocations: 8.528 MB / 0.8741 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00542/1.22, allocations: 2.738 MB / 0.8768 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00154/1.221, allocations: 404.5 kB / 0.8772 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003742/1.222, allocations: 99.42 kB / 0.8773 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of SimCode: time 1.783e-06/1.222, allocations: 0 / 0.8773 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of Templates: time 0.09937/1.321, allocations: 57.29 MB / 0.9332 GB, free: 3.207 MB / 0.67 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: