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_RLC_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.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.2025/0.2046, allocations: 80.82 MB / 0.5897 GB, free: 7.113 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01087/0.2155, allocations: 9.961 MB / 0.5994 GB, free: 13.1 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005947/0.2215, allocations: 3.358 MB / 0.6027 GB, free: 9.73 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008516/0.2224, allocations: 27.88 kB / 0.6027 GB, free: 9.703 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001522/0.2239, allocations: 0.5328 MB / 0.6032 GB, free: 9.168 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001859/0.2258, allocations: 0.7471 MB / 0.604 GB, free: 8.418 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001611/0.2274, allocations: 0.6705 MB / 0.6046 GB, free: 7.75 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004128/0.2315, allocations: 4.455 MB / 0.609 GB, free: 3.289 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003614/0.2352, allocations: 2.842 MB / 0.6118 GB, free: 420 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00155/0.2367, allocations: 1.047 MB / 0.6128 GB, free: 15.36 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001925/0.2387, allocations: 1.636 MB / 0.6144 GB, free: 13.71 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002826/0.239, allocations: 164 kB / 0.6145 GB, free: 13.55 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001171/0.2402, allocations: 0.5069 MB / 0.615 GB, free: 13.05 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009221/0.2411, allocations: 0.9822 MB / 0.616 GB, free: 12.07 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001176/0.2423, allocations: 1.015 MB / 0.617 GB, free: 11.05 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003647/0.2459, allocations: 3.595 MB / 0.6205 GB, free: 7.441 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.246, allocations: 0 / 0.6205 GB, free: 7.441 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.246, allocations: 0 / 0.6205 GB, free: 7.441 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.612e-05/0.2461, allocations: 0 / 0.6205 GB, free: 7.441 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 436 * Number of variables: 436 Notification: Performance of Generate backend data structure: time 0.004415/0.2505, allocations: 2.126 MB / 0.6226 GB, free: 5.258 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.2506, allocations: 15.95 kB / 0.6226 GB, free: 5.242 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008503/0.2591, allocations: 1.313 MB / 0.6239 GB, free: 3.926 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002942/0.2621, allocations: 1.247 MB / 0.6251 GB, free: 2.637 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.205e-05/0.2622, allocations: 115.3 kB / 0.6252 GB, free: 2.523 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003573/0.2625, allocations: 148.3 kB / 0.6253 GB, free: 2.379 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005017/0.2676, allocations: 3.422 MB / 0.6287 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.573e-05/0.2676, allocations: 4 kB / 0.6287 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002028/0.2678, allocations: 63.97 kB / 0.6287 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002334/0.2681, allocations: 207.1 kB / 0.6289 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004739/0.2728, allocations: 3.12 MB / 0.632 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01732/0.2902, allocations: 12.05 MB / 0.6437 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002574/0.2928, allocations: 1.911 MB / 0.6456 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001933/0.2947, allocations: 1.565 MB / 0.6471 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.976e-05/0.2948, allocations: 17 kB / 0.6472 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.2949, allocations: 43.56 kB / 0.6472 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=104): time 2.816e-06/0.2949, allocations: 0 / 0.6472 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=183): time 0.1378/0.4327, allocations: 40.25 MB / 0.6865 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002021/0.433, allocations: 73.41 kB / 0.6866 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001996/0.435, allocations: 1.124 MB / 0.6877 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003708/0.4354, allocations: 49.7 kB / 0.6877 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006704/0.4361, allocations: 0.7873 MB / 0.6885 GB, free: 1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008938/0.437, allocations: 0.6161 MB / 0.6891 GB, free: 384 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.4408/0.8778, allocations: 384.8 kB / 0.6895 GB, free: 93.34 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.777e-05/0.8779, allocations: 301.1 kB / 0.6897 GB, free: 93.05 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003349/0.8812, allocations: 2.16 MB / 0.6919 GB, free: 93.05 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002675/0.8839, allocations: 2.507 MB / 0.6943 GB, free: 92.71 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005783/0.8897, allocations: 4.829 MB / 0.699 GB, free: 92.15 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/0.8897, allocations: 2.625 kB / 0.699 GB, free: 92.15 MB / 0.5294 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02245/0.9122, allocations: 9.949 MB / 0.7087 GB, free: 89.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.026e-05/0.9123, allocations: 8.688 kB / 0.7087 GB, free: 89.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.336e-05/0.9124, allocations: 9.344 kB / 0.7088 GB, free: 89.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01751/0.9299, allocations: 5.558 MB / 0.7142 GB, free: 87.99 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009467/0.9309, allocations: 201.2 kB / 0.7144 GB, free: 87.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04566/0.9765, allocations: 38.61 MB / 0.7521 GB, free: 53.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002118/0.9787, allocations: 171.8 kB / 0.7522 GB, free: 53.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002227/0.9789, allocations: 75 kB / 0.7523 GB, free: 53.25 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (13,33,74.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001321/0.9803, allocations: 0.8129 MB / 0.7531 GB, free: 52.44 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003226/0.9806, allocations: 146.2 kB / 0.7532 GB, free: 52.29 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01759/0.9982, allocations: 9.775 MB / 0.7628 GB, free: 42.48 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-05/0.9983, allocations: 20 kB / 0.7628 GB, free: 42.46 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.678e-05/0.9983, allocations: 28 kB / 0.7628 GB, free: 42.43 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.285e-05/0.9984, allocations: 11.97 kB / 0.7629 GB, free: 42.42 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.023/1.021, allocations: 14.6 MB / 0.7771 GB, free: 27.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.236e-05/1.021, allocations: 4 kB / 0.7771 GB, free: 27.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004706/1.022, allocations: 123.8 kB / 0.7772 GB, free: 27.63 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01488/1.037, allocations: 5.233 MB / 0.7823 GB, free: 22.38 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003747/1.037, allocations: 28 kB / 0.7824 GB, free: 22.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04555/1.083, allocations: 34.84 MB / 0.8164 GB, free: 3.008 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.083, allocations: 4 kB / 0.8164 GB, free: 3.004 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01932/1.102, allocations: 9.228 MB / 0.8254 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001568/1.104, allocations: 0.6788 MB / 0.8261 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003605/1.104, allocations: 42.25 kB / 0.8261 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/1.105, allocations: 143.8 kB / 0.8262 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009513/1.106, allocations: 165.6 kB / 0.8264 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001513/1.106, allocations: 48 kB / 0.8264 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001105/1.108, allocations: 0.7851 MB / 0.8272 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.61e-07/1.108, allocations: 4 kB / 0.8272 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00344/1.111, allocations: 1.02 MB / 0.8282 GB, free: 6.777 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (14,24,79.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003912/1.111, allocations: 137.6 kB / 0.8283 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01152/1.123, allocations: 6.688 MB / 0.8349 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/1.123, allocations: 0 / 0.8349 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.008225/1.131, allocations: 4.172 MB / 0.839 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001676/1.133, allocations: 230.5 kB / 0.8392 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008982/1.142, allocations: 6.344 MB / 0.8454 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001981/1.144, allocations: 1.874 MB / 0.8472 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001122/1.145, allocations: 377 kB / 0.8476 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002191/1.145, allocations: 63.38 kB / 0.8476 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of SimCode: time 2.335e-06/1.145, allocations: 3.938 kB / 0.8476 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of Templates: time 0.08861/1.234, allocations: 61.08 MB / 0.9073 GB, free: 5.879 MB / 0.6387 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)