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.2094/0.2116, allocations: 80.84 MB / 0.6707 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02652/0.2382, allocations: 22.27 MB / 0.6924 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01339/0.2517, allocations: 6.681 MB / 0.6989 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002822/0.2546, allocations: 99.5 kB / 0.699 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00483/0.2595, allocations: 1.526 MB / 0.7005 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005739/0.2652, allocations: 1.735 MB / 0.7022 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004615/0.2699, allocations: 1.326 MB / 0.7035 GB, free: 240 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.009115/0.279, allocations: 5.842 MB / 0.7092 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01032/0.2894, allocations: 6.029 MB / 0.7151 GB, free: 4.258 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004929/0.2943, allocations: 2.422 MB / 0.7175 GB, free: 1.828 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005782/0.3001, allocations: 2.905 MB / 0.7203 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001766/0.3019, allocations: 460 kB / 0.7207 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003533/0.3055, allocations: 1.092 MB / 0.7218 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.004484/0.31, allocations: 1.984 MB / 0.7237 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.004633/0.3146, allocations: 2.12 MB / 0.7258 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.007772/0.3224, allocations: 7.206 MB / 0.7328 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3225, allocations: 4 kB / 0.7329 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3225, allocations: 0 / 0.7329 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001851/0.3227, allocations: 0 / 0.7329 GB, free: 2.023 MB / 0.5606 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.00747/0.3301, allocations: 3.789 MB / 0.7366 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.3302, allocations: 12.03 kB / 0.7366 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005712/0.3359, allocations: 1.19 MB / 0.7377 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005433/0.3414, allocations: 2.336 MB / 0.74 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001923/0.3416, allocations: 238.3 kB / 0.7402 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008886/0.3425, allocations: 308 kB / 0.7405 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01104/0.3535, allocations: 6.192 MB / 0.7466 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.354e-05/0.3537, allocations: 19.81 kB / 0.7466 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003813/0.354, allocations: 135.9 kB / 0.7467 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004989/0.3546, allocations: 410.2 kB / 0.7471 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5075/0.862, allocations: 4.63 MB / 0.7516 GB, free: 68.8 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04179/0.9039, allocations: 22.08 MB / 0.7732 GB, free: 54.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00266/0.9066, allocations: 1.454 MB / 0.7746 GB, free: 54.26 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002568/0.9092, allocations: 1.513 MB / 0.7761 GB, free: 53.71 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001782/0.9094, allocations: 12.75 kB / 0.7761 GB, free: 53.71 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.411e-05/0.9094, allocations: 43.69 kB / 0.7762 GB, free: 53.67 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=110): time 3.847e-06/0.9095, allocations: 0 / 0.7762 GB, free: 53.67 MB / 0.5762 GB Notification: Performance of matching and sorting (n=179): time 0.1405/1.05, allocations: 35.93 MB / 0.8112 GB, free: 29.06 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.043e-05/1.05, allocations: 73.41 kB / 0.8113 GB, free: 28.97 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002715/1.053, allocations: 1.419 MB / 0.8127 GB, free: 27.55 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0005442/1.053, allocations: 57.7 kB / 0.8128 GB, free: 27.48 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008489/1.054, allocations: 1.519 MB / 0.8142 GB, free: 25.95 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008141/1.055, allocations: 0.6121 MB / 0.8148 GB, free: 25.34 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001018/1.056, allocations: 383.3 kB / 0.8152 GB, free: 24.96 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.425e-05/1.056, allocations: 309 kB / 0.8155 GB, free: 24.66 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002254/1.058, allocations: 1.823 MB / 0.8173 GB, free: 22.83 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002458/1.061, allocations: 2.389 MB / 0.8196 GB, free: 20.19 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004853/1.066, allocations: 4.492 MB / 0.824 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.842e-05/1.066, allocations: 4 kB / 0.824 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01675/1.083, allocations: 8.513 MB / 0.8323 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.12e-05/1.083, allocations: 15.94 kB / 0.8323 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.044e-05/1.083, allocations: 16 kB / 0.8323 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01403/1.097, allocations: 4.503 MB / 0.8367 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/1.098, allocations: 303.4 kB / 0.837 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0528/1.151, allocations: 33.18 MB / 0.8694 GB, free: 44 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002651/1.154, allocations: 129 kB / 0.8696 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005283/1.154, allocations: 83.98 kB / 0.8696 GB, free: 15.84 MB / 0.6231 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.002849/1.157, allocations: 1.332 MB / 0.8709 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006508/1.158, allocations: 205.5 kB / 0.8711 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01893/1.177, allocations: 8.398 MB / 0.8793 GB, free: 5.848 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.453e-05/1.177, allocations: 16 kB / 0.8794 GB, free: 5.832 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001111/1.177, allocations: 24 kB / 0.8794 GB, free: 5.809 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-05/1.177, allocations: 11.91 kB / 0.8794 GB, free: 5.797 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0297/1.207, allocations: 12.95 MB / 0.892 GB, free: 8.715 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-05/1.207, allocations: 4 kB / 0.892 GB, free: 8.711 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008467/1.207, allocations: 167.7 kB / 0.8922 GB, free: 8.547 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01544/1.223, allocations: 4.354 MB / 0.8965 GB, free: 4.172 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008784/1.224, allocations: 36 kB / 0.8965 GB, free: 4.137 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05124/1.275, allocations: 32.85 MB / 0.9286 GB, free: 2.445 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-05/1.275, allocations: 16.81 kB / 0.9286 GB, free: 2.43 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.018/1.293, allocations: 8.19 MB / 0.9366 GB, free: 10.1 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002035/1.295, allocations: 0.639 MB / 0.9372 GB, free: 9.441 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007239/1.296, allocations: 40 kB / 0.9372 GB, free: 9.402 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002013/1.298, allocations: 111.8 kB / 0.9373 GB, free: 9.293 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001123/1.299, allocations: 172.9 kB / 0.9375 GB, free: 9.125 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002965/1.3, allocations: 52 kB / 0.9376 GB, free: 9.074 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002225/1.302, allocations: 0.9627 MB / 0.9385 GB, free: 8.117 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.6e-07/1.302, allocations: 0 / 0.9385 GB, free: 8.117 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.005392/1.307, allocations: 1.086 MB / 0.9396 GB, free: 7.031 MB / 0.6856 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.0006204/1.308, allocations: 156.6 kB / 0.9397 GB, free: 6.871 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01709/1.325, allocations: 6.646 MB / 0.9462 GB, free: 168 kB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.351e-05/1.325, allocations: 4 kB / 0.9462 GB, free: 164 kB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.01183/1.337, allocations: 4.43 MB / 0.9505 GB, free: 11.67 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004409/1.341, allocations: 0.5213 MB / 0.951 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01961/1.361, allocations: 6.907 MB / 0.9578 GB, free: 4.184 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006678/1.368, allocations: 2.738 MB / 0.9605 GB, free: 1.41 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001644/1.369, allocations: 396.5 kB / 0.9608 GB, free: 1.02 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004884/1.37, allocations: 95.44 kB / 0.9609 GB, free: 0.9258 MB / 0.7012 GB Notification: Performance of SimCode: time 1.883e-06/1.37, allocations: 0 / 0.9609 GB, free: 0.9258 MB / 0.7012 GB Notification: Performance of Templates: time 0.1118/1.482, allocations: 63.33 MB / 1.023 GB, free: 1.859 MB / 0.7637 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)