Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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.1786/0.1794, allocations: 82.22 MB / 0.5934 GB, free: 5.973 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.0185/0.1979, allocations: 17.34 MB / 0.6103 GB, free: 4.578 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01026/0.2082, allocations: 6.386 MB / 0.6166 GB, free: 14.18 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001831/0.2101, allocations: 67.56 kB / 0.6166 GB, free: 14.11 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00115/0.2113, allocations: 409.5 kB / 0.617 GB, free: 13.71 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002753/0.214, allocations: 0.8684 MB / 0.6179 GB, free: 12.84 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002397/0.2165, allocations: 0.7711 MB / 0.6186 GB, free: 12.07 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003323/0.2198, allocations: 2.225 MB / 0.6208 GB, free: 9.836 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009237/0.229, allocations: 6.372 MB / 0.627 GB, free: 3.402 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002407/0.2315, allocations: 1.296 MB / 0.6283 GB, free: 2.102 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002194/0.2337, allocations: 1.37 MB / 0.6296 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004551/0.2341, allocations: 176 kB / 0.6298 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/0.2356, allocations: 415.5 kB / 0.6302 GB, free: 152 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001336/0.237, allocations: 1.189 MB / 0.6313 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008154/0.2378, allocations: 0.6134 MB / 0.6319 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005122/0.2429, allocations: 5.236 MB / 0.637 GB, free: 9.086 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.2429, allocations: 0 / 0.637 GB, free: 9.086 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2429, allocations: 4 kB / 0.6371 GB, free: 9.082 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001502/0.2431, allocations: 0 / 0.6371 GB, free: 9.082 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 784 * Number of variables: 784 Notification: Performance of Generate backend data structure: time 0.005943/0.249, allocations: 2.808 MB / 0.6398 GB, free: 6.211 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.2491, allocations: 8.031 kB / 0.6398 GB, free: 6.203 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003104/0.2522, allocations: 0.6012 MB / 0.6404 GB, free: 5.598 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004186/0.2564, allocations: 1.892 MB / 0.6422 GB, free: 3.645 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001848/0.2566, allocations: 217.8 kB / 0.6424 GB, free: 3.43 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006519/0.2573, allocations: 288 kB / 0.6427 GB, free: 3.148 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008352/0.2656, allocations: 4.795 MB / 0.6474 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.682e-05/0.2658, allocations: 15.84 kB / 0.6474 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002964/0.2661, allocations: 124 kB / 0.6475 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004365/0.2665, allocations: 229.6 kB / 0.6478 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005847/0.2724, allocations: 3.699 MB / 0.6514 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02044/0.2928, allocations: 15.08 MB / 0.6661 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001789/0.2947, allocations: 1.294 MB / 0.6674 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 6.946e-05/0.2948, allocations: 20.97 kB / 0.6674 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.568e-05/0.2948, allocations: 47.55 kB / 0.6674 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=107): time 3.627e-06/0.2948, allocations: 0 / 0.6674 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of matching and sorting (n=138): time 0.02297/0.3178, allocations: 8.669 MB / 0.6759 GB, free: 484 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.3179, allocations: 76.66 kB / 0.676 GB, free: 396 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/0.3195, allocations: 1.119 MB / 0.677 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001/0.3196, allocations: 49.7 kB / 0.6771 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000904/0.3205, allocations: 1.276 MB / 0.6783 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003838/0.3209, allocations: 485 kB / 0.6788 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.827e-05/0.321, allocations: 28 kB / 0.6788 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.3212, allocations: 373.9 kB / 0.6792 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/0.3224, allocations: 0.9096 MB / 0.6801 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001629/0.3241, allocations: 1.315 MB / 0.6814 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001625/0.3257, allocations: 1.15 MB / 0.6825 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.3257, allocations: 4 kB / 0.6825 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005732/0.3314, allocations: 3.453 MB / 0.6859 GB, free: 6.016 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.598e-05/0.3315, allocations: 14.19 kB / 0.6859 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/0.3315, allocations: 12 kB / 0.6859 GB, free: 5.992 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003015/0.3345, allocations: 1.177 MB / 0.687 GB, free: 4.809 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008856/0.3354, allocations: 263.5 kB / 0.6873 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3399/0.6754, allocations: 13.17 MB / 0.7001 GB, free: 84.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/0.6767, allocations: 86.88 kB / 0.7002 GB, free: 84.86 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/0.6769, allocations: 72.86 kB / 0.7003 GB, free: 84.86 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,92.0%) 17,(5,92.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001754/0.6786, allocations: 1.113 MB / 0.7014 GB, free: 84.74 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002524/0.6789, allocations: 158.1 kB / 0.7015 GB, free: 84.74 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005017/0.6839, allocations: 3.17 MB / 0.7046 GB, free: 83.82 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.6839, allocations: 15.55 kB / 0.7046 GB, free: 83.82 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-05/0.684, allocations: 12.12 kB / 0.7047 GB, free: 83.82 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.762e-05/0.684, allocations: 6.375 kB / 0.7047 GB, free: 83.82 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009959/0.6939, allocations: 6.267 MB / 0.7108 GB, free: 81.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/0.694, allocations: 8.156 kB / 0.7108 GB, free: 81.26 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005756/0.6946, allocations: 147.6 kB / 0.7109 GB, free: 81.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002738/0.6973, allocations: 1.072 MB / 0.712 GB, free: 80.98 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-05/0.6974, allocations: 25.94 kB / 0.712 GB, free: 80.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01393/0.7114, allocations: 12.92 MB / 0.7246 GB, free: 73.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.7114, allocations: 8.375 kB / 0.7246 GB, free: 73.12 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004463/0.7159, allocations: 3.393 MB / 0.7279 GB, free: 70.86 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009508/0.7169, allocations: 437.7 kB / 0.7284 GB, free: 70.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002059/0.7171, allocations: 27.89 kB / 0.7284 GB, free: 70.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007364/0.7178, allocations: 83.3 kB / 0.7285 GB, free: 70.48 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003093/0.7181, allocations: 129.3 kB / 0.7286 GB, free: 70.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.512e-05/0.7182, allocations: 39.72 kB / 0.7286 GB, free: 70.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008257/0.719, allocations: 0.7543 MB / 0.7294 GB, free: 69.97 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7191, allocations: 0 / 0.7294 GB, free: 69.97 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001757/0.7208, allocations: 0.6399 MB / 0.73 GB, free: 69.91 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000201/0.721, allocations: 141.9 kB / 0.7301 GB, free: 69.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003816/0.7248, allocations: 3.136 MB / 0.7332 GB, free: 67.96 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.7249, allocations: 0 / 0.7332 GB, free: 67.96 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002297/0.7272, allocations: 1.965 MB / 0.7351 GB, free: 66.71 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001685/0.7289, allocations: 454.8 kB / 0.7355 GB, free: 66.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007126/0.736, allocations: 6.51 MB / 0.7419 GB, free: 60.44 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001603/0.7376, allocations: 2.39 MB / 0.7442 GB, free: 58.02 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0009683/0.7386, allocations: 366.3 kB / 0.7446 GB, free: 57.66 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001798/0.7388, allocations: 87.44 kB / 0.7447 GB, free: 57.58 MB / 0.5294 GB Notification: Performance of SimCode: time 5.81e-07/0.7388, allocations: 0 / 0.7447 GB, free: 57.58 MB / 0.5294 GB Notification: Performance of Templates: time 0.03639/0.7752, allocations: 30.06 MB / 0.774 GB, free: 27.99 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) Environment - environmentSimulation: