Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 194.9 kB / 16.14 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.92/2.92, allocations: 472.6 MB / 0.7447 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 64.42 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3726/0.3741, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.0399/0.414, allocations: 34.82 MB / 1.102 GB, free: 7.984 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02103/0.4351, allocations: 9.906 MB / 1.111 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005957/0.4411, allocations: 131.3 kB / 1.111 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.01341/0.4546, allocations: 3.545 MB / 1.115 GB, free: 10.37 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.009248/0.4639, allocations: 1.917 MB / 1.117 GB, free: 8.445 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.007956/0.4719, allocations: 1.788 MB / 1.118 GB, free: 6.66 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01798/0.4899, allocations: 11.2 MB / 1.129 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0256/0.5155, allocations: 10.7 MB / 1.14 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008311/0.5239, allocations: 2.88 MB / 1.143 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009269/0.5332, allocations: 3.793 MB / 1.146 GB, free: 9.922 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.002856/0.5361, allocations: 464 kB / 1.147 GB, free: 9.469 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007499/0.5436, allocations: 1.447 MB / 1.148 GB, free: 8.02 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.006214/0.5499, allocations: 2.401 MB / 1.151 GB, free: 5.613 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.007513/0.5574, allocations: 2.843 MB / 1.153 GB, free: 2.758 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01215/0.5696, allocations: 10.19 MB / 1.163 GB, free: 8.539 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.5696, allocations: 4 kB / 1.163 GB, free: 8.535 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5696, allocations: 0 / 1.163 GB, free: 8.535 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0003372/0.57, allocations: 0 / 1.163 GB, free: 8.535 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01544/0.5854, allocations: 5.401 MB / 1.169 GB, free: 3.062 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.5855, allocations: 16.03 kB / 1.169 GB, free: 3.047 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006099/0.5916, allocations: 0.9664 MB / 1.169 GB, free: 2.074 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007304/0.5989, allocations: 2.995 MB / 1.172 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000419/0.5994, allocations: 353.9 kB / 1.173 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002043/0.6014, allocations: 464.3 kB / 1.173 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01781/0.6193, allocations: 7.914 MB / 1.181 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001991/0.6195, allocations: 19.78 kB / 1.181 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001317/0.6208, allocations: 211.9 kB / 1.181 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005805/0.6214, allocations: 369.1 kB / 1.181 GB, free: 5.355 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01255/0.634, allocations: 5.933 MB / 1.187 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04954/0.6836, allocations: 36.21 MB / 1.223 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00365/0.6873, allocations: 2.142 MB / 1.225 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002105/0.6894, allocations: 1.477 MB / 1.226 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001526/0.6896, allocations: 17.31 kB / 1.226 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.15e-05/0.6896, allocations: 59.8 kB / 1.226 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=157): time 3.958e-06/0.6896, allocations: 3.938 kB / 1.226 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of matching and sorting (n=160): time 0.01529/0.7049, allocations: 7.54 MB / 1.234 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/0.705, allocations: 68.72 kB / 1.234 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003399/0.7084, allocations: 1.856 MB / 1.235 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001703/0.7086, allocations: 53.7 kB / 1.236 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001578/0.7102, allocations: 2.123 MB / 1.238 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005899/0.7108, allocations: 0.5623 MB / 1.238 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007429/0.7116, allocations: 399.7 kB / 1.239 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.7117, allocations: 305.1 kB / 1.239 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001785/0.7135, allocations: 1.062 MB / 1.24 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002279/0.7158, allocations: 1.764 MB / 1.242 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00409/0.7199, allocations: 3.041 MB / 1.245 GB, free: 496 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.149e-05/0.7199, allocations: 15.94 kB / 1.245 GB, free: 480 kB / 0.9981 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.6793/1.399, allocations: 3.919 MB / 1.248 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.719e-05/1.399, allocations: 18.22 kB / 1.248 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.397e-05/1.399, allocations: 21.81 kB / 1.248 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002876/1.402, allocations: 0.9291 MB / 1.249 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001688/1.404, allocations: 427.1 kB / 1.25 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01634/1.42, allocations: 21.06 MB / 1.27 GB, free: 147.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002553/1.423, allocations: 119.5 kB / 1.27 GB, free: 147.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005338/1.423, allocations: 98.22 kB / 1.271 GB, free: 147.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003734/1.427, allocations: 1.649 MB / 1.272 GB, free: 147.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008034/1.428, allocations: 253.8 kB / 1.272 GB, free: 147.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007353/1.435, allocations: 3.264 MB / 1.276 GB, free: 145.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.874e-05/1.435, allocations: 15.38 kB / 1.276 GB, free: 145.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-05/1.435, allocations: 10.56 kB / 1.276 GB, free: 145.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-05/1.436, allocations: 8.391 kB / 1.276 GB, free: 145.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02001/1.456, allocations: 7.55 MB / 1.283 GB, free: 142.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.316e-05/1.456, allocations: 7.75 kB / 1.283 GB, free: 142.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/1.457, allocations: 216.1 kB / 1.283 GB, free: 142.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002823/1.46, allocations: 0.8937 MB / 1.284 GB, free: 142.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001938/1.46, allocations: 36.39 kB / 1.284 GB, free: 142.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01802/1.478, allocations: 21.02 MB / 1.305 GB, free: 124.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.055e-05/1.478, allocations: 8.094 kB / 1.305 GB, free: 124.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006795/1.485, allocations: 3.387 MB / 1.308 GB, free: 122.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001439/1.486, allocations: 0.5285 MB / 1.308 GB, free: 122.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007431/1.487, allocations: 35.33 kB / 1.308 GB, free: 122.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001615/1.488, allocations: 91.95 kB / 1.309 GB, free: 122.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005466/1.489, allocations: 142 kB / 1.309 GB, free: 122.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001597/1.489, allocations: 45.84 kB / 1.309 GB, free: 122.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002769/1.492, allocations: 1.229 MB / 1.31 GB, free: 121.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.926e-06/1.492, allocations: 0 / 1.31 GB, free: 121.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00459/1.497, allocations: 0.916 MB / 1.311 GB, free: 121.8 MB / 0.9981 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003915/1.497, allocations: 154.4 kB / 1.311 GB, free: 121.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006863/1.504, allocations: 4.408 MB / 1.315 GB, free: 119.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.245e-05/1.504, allocations: 8.281 kB / 1.315 GB, free: 119.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004438/1.508, allocations: 2.989 MB / 1.318 GB, free: 117.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005408/1.514, allocations: 0.7643 MB / 1.319 GB, free: 116.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01664/1.53, allocations: 9.71 MB / 1.328 GB, free: 110.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004573/1.535, allocations: 3.207 MB / 1.332 GB, free: 108.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002348/1.537, allocations: 0.5276 MB / 1.332 GB, free: 108.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005658/1.538, allocations: 144.6 kB / 1.332 GB, free: 108.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.292e-06/1.538, allocations: 0 / 1.332 GB, free: 108.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.06577/1.604, allocations: 41.52 MB / 1.373 GB, free: 69 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)