Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009762/0.0009762, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 205.4 MB / 222.1 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.676/1.676, allocations: 292.5 MB / 0.5497 GB, free: 14.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005953/0.0005954, allocations: 20.84 kB / 0.6736 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2789, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01423/0.2932, allocations: 10.42 MB / 0.7973 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01062/0.3039, allocations: 5.17 MB / 0.8024 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001519/0.3055, allocations: 27.88 kB / 0.8024 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001561/0.307, allocations: 326.2 kB / 0.8027 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002113/0.3092, allocations: 0.5568 MB / 0.8032 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001823/0.311, allocations: 0.5914 MB / 0.8038 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001694/0.3127, allocations: 1.213 MB / 0.805 GB, free: 9.625 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005149/0.3179, allocations: 3.852 MB / 0.8088 GB, free: 5.711 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.3189, allocations: 0.6386 MB / 0.8094 GB, free: 5.07 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001052/0.32, allocations: 0.7475 MB / 0.8101 GB, free: 4.32 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002126/0.3202, allocations: 104 kB / 0.8102 GB, free: 4.219 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009095/0.3211, allocations: 327.7 kB / 0.8105 GB, free: 3.898 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006249/0.3218, allocations: 0.6821 MB / 0.8112 GB, free: 3.215 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004276/0.3222, allocations: 364.9 kB / 0.8115 GB, free: 2.852 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003127/0.3253, allocations: 3.265 MB / 0.8147 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3254, allocations: 0 / 0.8147 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3254, allocations: 0 / 0.8147 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.908e-05/0.3254, allocations: 0 / 0.8147 GB, free: 15.58 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.004069/0.3295, allocations: 1.769 MB / 0.8165 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3296, allocations: 8.031 kB / 0.8165 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003549/0.3331, allocations: 0.7665 MB / 0.8172 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003084/0.3362, allocations: 1.239 MB / 0.8184 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.3364, allocations: 119.2 kB / 0.8185 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003542/0.3367, allocations: 159.9 kB / 0.8187 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005193/0.3419, allocations: 2.936 MB / 0.8216 GB, free: 8.418 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.065e-05/0.342, allocations: 4 kB / 0.8216 GB, free: 8.414 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001811/0.3422, allocations: 64 kB / 0.8216 GB, free: 8.352 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004168/0.3426, allocations: 199 kB / 0.8218 GB, free: 8.156 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00425/0.3469, allocations: 2.507 MB / 0.8243 GB, free: 5.645 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01344/0.3603, allocations: 10.91 MB / 0.8349 GB, free: 9.844 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.3615, allocations: 0.9196 MB / 0.8358 GB, free: 8.879 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001176/0.3617, allocations: 89.47 kB / 0.8359 GB, free: 8.773 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.3617, allocations: 42.92 kB / 0.8359 GB, free: 8.723 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=46): time 2.505e-06/0.3617, allocations: 4 kB / 0.8359 GB, free: 8.719 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.02614/0.3879, allocations: 8.961 MB / 0.8447 GB, free: 15.68 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.388, allocations: 89.61 kB / 0.8448 GB, free: 15.58 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/0.3893, allocations: 0.9376 MB / 0.8457 GB, free: 14.63 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001527/0.3895, allocations: 37.7 kB / 0.8457 GB, free: 14.59 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006083/0.3901, allocations: 0.7736 MB / 0.8465 GB, free: 13.8 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002764/0.3904, allocations: 252.5 kB / 0.8467 GB, free: 13.55 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.874e-05/0.3905, allocations: 20 kB / 0.8467 GB, free: 13.53 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000204/0.3907, allocations: 394.8 kB / 0.8471 GB, free: 13.14 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001181/0.3919, allocations: 0.8027 MB / 0.8479 GB, free: 12.33 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001432/0.3933, allocations: 1.156 MB / 0.849 GB, free: 11.02 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/0.3947, allocations: 0.9868 MB / 0.85 GB, free: 10.03 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.3947, allocations: 4 kB / 0.85 GB, free: 10.03 MB / 0.67 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.009283/0.404, allocations: 3.787 MB / 0.8537 GB, free: 6.223 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.001809/0.4059, allocations: 4.272 MB / 0.8579 GB, free: 1.621 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.607e-05/0.4059, allocations: 12 kB / 0.8579 GB, free: 1.609 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008118/0.414, allocations: 2.166 MB / 0.86 GB, free: 15.44 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00088/0.4149, allocations: 219.6 kB / 0.8602 GB, free: 15.22 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01571/0.4307, allocations: 10.69 MB / 0.8706 GB, free: 4.277 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/0.4323, allocations: 203.6 kB / 0.8708 GB, free: 4.078 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/0.4324, allocations: 47.98 kB / 0.8709 GB, free: 4.031 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.4325, allocations: 4 kB / 0.8709 GB, free: 4.027 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007598/0.4401, allocations: 3.076 MB / 0.8739 GB, free: 0.9453 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.321e-05/0.4401, allocations: 12 kB / 0.8739 GB, free: 0.9336 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005136/0.4453, allocations: 1.359 MB / 0.8752 GB, free: 15.57 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.4464, allocations: 287.5 kB / 0.8755 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01052/0.4569, allocations: 6.385 MB / 0.8817 GB, free: 8.766 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/0.4585, allocations: 171.7 kB / 0.8819 GB, free: 8.598 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.703e-05/0.4586, allocations: 48 kB / 0.8819 GB, free: 8.551 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * Single equations (assignments): 95 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.001626/0.4602, allocations: 0.9025 MB / 0.8828 GB, free: 7.637 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001877/0.4604, allocations: 90.91 kB / 0.8829 GB, free: 7.547 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008531/0.469, allocations: 3.324 MB / 0.8862 GB, free: 4.199 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.951e-05/0.469, allocations: 8 kB / 0.8862 GB, free: 4.191 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/0.469, allocations: 4.188 kB / 0.8862 GB, free: 4.188 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.036e-05/0.4691, allocations: 3.984 kB / 0.8862 GB, free: 4.184 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01213/0.4812, allocations: 5.497 MB / 0.8915 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.4813, allocations: 0 / 0.8915 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000459/0.4817, allocations: 112.1 kB / 0.8916 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007142/0.4889, allocations: 1.979 MB / 0.8936 GB, free: 12.47 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/0.489, allocations: 15.95 kB / 0.8936 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01483/0.5039, allocations: 10.07 MB / 0.9034 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-05/0.5039, allocations: 3.938 kB / 0.9034 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008668/0.5126, allocations: 3.301 MB / 0.9067 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009019/0.5136, allocations: 331.9 kB / 0.907 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/0.5137, allocations: 23.98 kB / 0.907 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008916/0.5146, allocations: 147.8 kB / 0.9071 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00027/0.5149, allocations: 72.36 kB / 0.9072 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.626e-05/0.515, allocations: 20 kB / 0.9072 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000921/0.5159, allocations: 0.6707 MB / 0.9079 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.5159, allocations: 0 / 0.9079 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002349/0.5183, allocations: 0.6953 MB / 0.9086 GB, free: 12.75 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 40 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003009/0.5186, allocations: 135.2 kB / 0.9087 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.007258/0.5258, allocations: 3.909 MB / 0.9125 GB, free: 8.668 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.76e-06/0.5259, allocations: 0 / 0.9125 GB, free: 8.668 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002037/0.5279, allocations: 1.313 MB / 0.9138 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.5291, allocations: 249.9 kB / 0.914 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005925/0.535, allocations: 4.07 MB / 0.918 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001599/0.5366, allocations: 1.754 MB / 0.9197 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001352/0.538, allocations: 0.5148 MB / 0.9202 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001601/0.5381, allocations: 59.44 kB / 0.9203 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of SimCode: time 9.52e-07/0.5382, allocations: 0 / 0.9203 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of Templates: time 0.3911/0.9293, allocations: 29.61 MB / 0.9492 GB, free: 118.6 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1) Environment - environmentSimulation: