Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_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.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 99.28 kB / 16.27 MB, free: 6 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.001116/0.001116, allocations: 187 kB / 17.2 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.421/1.421, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.825/1.825, allocations: 292.3 MB / 0.5495 GB, free: 17.48 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.002058/0.002059, allocations: 71.91 kB / 0.6722 GB, free: 6.539 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2523, allocations: 114.6 MB / 0.784 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.4633/0.7157, allocations: 20.41 MB / 0.804 GB, free: 39.29 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01256/0.7283, allocations: 7.572 MB / 0.8114 GB, free: 34.19 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002561/0.7309, allocations: 61.56 kB / 0.8114 GB, free: 34.18 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003785/0.7347, allocations: 1.355 MB / 0.8127 GB, free: 33.37 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003475/0.7382, allocations: 0.9804 MB / 0.8137 GB, free: 32.8 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006181/0.7444, allocations: 1.994 MB / 0.8156 GB, free: 31.73 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006838/0.7513, allocations: 4.316 MB / 0.8199 GB, free: 29.86 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01109/0.7624, allocations: 6.268 MB / 0.826 GB, free: 27.62 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00406/0.7665, allocations: 1.83 MB / 0.8278 GB, free: 26.78 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004754/0.7713, allocations: 2.198 MB / 0.8299 GB, free: 25.83 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002103/0.7734, allocations: 427.8 kB / 0.8303 GB, free: 25.83 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003671/0.7771, allocations: 0.9127 MB / 0.8312 GB, free: 25.64 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003627/0.7808, allocations: 1.647 MB / 0.8328 GB, free: 24.97 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.004212/0.785, allocations: 1.717 MB / 0.8345 GB, free: 23.85 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01057/0.7956, allocations: 6.126 MB / 0.8405 GB, free: 21.95 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.7957, allocations: 0 / 0.8405 GB, free: 21.95 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.224e-06/0.7957, allocations: 0 / 0.8405 GB, free: 21.95 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002337/0.7959, allocations: 4 kB / 0.8405 GB, free: 21.95 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.01146/0.8074, allocations: 3.041 MB / 0.8435 GB, free: 20.22 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.8075, allocations: 10.52 kB / 0.8435 GB, free: 20.22 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003883/0.8113, allocations: 0.6855 MB / 0.8441 GB, free: 20.02 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00379/0.8152, allocations: 1.532 MB / 0.8456 GB, free: 19.02 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002531/0.8154, allocations: 220 kB / 0.8458 GB, free: 18.91 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001325/0.8168, allocations: 289.3 kB / 0.8461 GB, free: 18.82 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01444/0.8312, allocations: 5.048 MB / 0.8511 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001755/0.8315, allocations: 11.66 kB / 0.8511 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00138/0.8328, allocations: 128.1 kB / 0.8512 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003178/0.8332, allocations: 210.1 kB / 0.8514 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01008/0.8433, allocations: 4.171 MB / 0.8555 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0309/0.8742, allocations: 23.02 MB / 0.8779 GB, free: 8.441 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003069/0.8773, allocations: 1.72 MB / 0.8796 GB, free: 6.992 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001655/0.879, allocations: 1.129 MB / 0.8807 GB, free: 5.852 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000191/0.8792, allocations: 101.7 kB / 0.8808 GB, free: 5.734 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.248e-05/0.8793, allocations: 43.22 kB / 0.8809 GB, free: 5.684 MB / 0.67 GB Notification: Performance of pre-optimization done (n=84): time 4.208e-06/0.8793, allocations: 0 / 0.8809 GB, free: 5.684 MB / 0.67 GB Notification: Performance of matching and sorting (n=87): time 0.007493/0.8868, allocations: 3.993 MB / 0.8848 GB, free: 1.652 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.257e-05/0.8869, allocations: 137.2 kB / 0.8849 GB, free: 1.488 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/0.8882, allocations: 0.8564 MB / 0.8857 GB, free: 0.625 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001565/0.8884, allocations: 41.7 kB / 0.8858 GB, free: 0.5781 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007661/0.8891, allocations: 1.158 MB / 0.8869 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003946/0.8895, allocations: 311.5 kB / 0.8872 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005123/0.8901, allocations: 285.6 kB / 0.8875 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001994/0.8903, allocations: 402.7 kB / 0.8879 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001189/0.8915, allocations: 0.8062 MB / 0.8886 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001535/0.893, allocations: 1.287 MB / 0.8899 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002776/0.8958, allocations: 2.144 MB / 0.892 GB, free: 9.758 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.71e-05/0.8958, allocations: 4 kB / 0.892 GB, free: 9.754 MB / 0.6856 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003542/0.8994, allocations: 2.168 MB / 0.8941 GB, free: 7.574 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.732e-05/0.8995, allocations: 12 kB / 0.8941 GB, free: 7.562 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.619e-05/0.8995, allocations: 16.16 kB / 0.8941 GB, free: 7.547 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.976e-05/0.8995, allocations: 24 kB / 0.8942 GB, free: 7.523 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/0.9012, allocations: 407.2 kB / 0.8945 GB, free: 7.125 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.074e-05/0.9012, allocations: 23.94 kB / 0.8946 GB, free: 7.102 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/0.9026, allocations: 195.3 kB / 0.8948 GB, free: 6.91 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001391/0.9028, allocations: 59.98 kB / 0.8948 GB, free: 6.852 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003001/0.9058, allocations: 1.658 MB / 0.8964 GB, free: 5.188 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001436/0.9073, allocations: 1.166 MB / 0.8976 GB, free: 3.789 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002478/0.9098, allocations: 1.882 MB / 0.8994 GB, free: 1.699 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.524e-05/0.9098, allocations: 7.938 kB / 0.8994 GB, free: 1.691 MB / 0.6856 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003139/0.9129, allocations: 1.887 MB / 0.9013 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.913, allocations: 12 kB / 0.9013 GB, free: 15.78 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.366e-05/0.913, allocations: 19.94 kB / 0.9013 GB, free: 15.76 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.07e-05/0.913, allocations: 20 kB / 0.9013 GB, free: 15.74 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/0.9143, allocations: 351.4 kB / 0.9016 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.804e-05/0.9144, allocations: 40.25 kB / 0.9017 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/0.9157, allocations: 163.4 kB / 0.9018 GB, free: 15.2 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/0.9158, allocations: 63.98 kB / 0.9019 GB, free: 15.14 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004156/0.9163, allocations: 259.8 kB / 0.9021 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000392/0.9167, allocations: 102.8 kB / 0.9022 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002925/0.9196, allocations: 1.842 MB / 0.904 GB, free: 12.92 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/0.9196, allocations: 8 kB / 0.9041 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.9196, allocations: 0 / 0.9041 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/0.9197, allocations: 10.7 kB / 0.9041 GB, free: 12.9 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01432/0.934, allocations: 9.58 MB / 0.9134 GB, free: 3.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-05/0.9341, allocations: 12 kB / 0.9134 GB, free: 3.059 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001312/0.9354, allocations: 316.4 kB / 0.9137 GB, free: 2.75 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.149e-05/0.9354, allocations: 15.94 kB / 0.9137 GB, free: 2.734 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001146/0.9355, allocations: 28 kB / 0.9138 GB, free: 2.707 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.21e-05/0.9356, allocations: 27.86 kB / 0.9138 GB, free: 2.68 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.629e-05/0.9356, allocations: 19.88 kB / 0.9138 GB, free: 2.66 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003001/0.9386, allocations: 2.394 MB / 0.9162 GB, free: 104 kB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008112/0.9394, allocations: 371.6 kB / 0.9165 GB, free: 15.72 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002983/0.9397, allocations: 35.98 kB / 0.9165 GB, free: 15.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/0.9409, allocations: 139.7 kB / 0.9167 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002051/0.9411, allocations: 91.61 kB / 0.9168 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.351e-05/0.9412, allocations: 39.98 kB / 0.9168 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009837/0.9422, allocations: 0.5927 MB / 0.9174 GB, free: 14.83 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9422, allocations: 0 / 0.9174 GB, free: 14.83 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003468/0.9456, allocations: 0.7461 MB / 0.9181 GB, free: 14.09 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (90): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002983/0.946, allocations: 150.9 kB / 0.9183 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004521/0.9505, allocations: 2.998 MB / 0.9212 GB, free: 10.94 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.349e-05/0.9505, allocations: 0 / 0.9212 GB, free: 10.94 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001303/0.9518, allocations: 0.9114 MB / 0.9221 GB, free: 10.03 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002276/0.9541, allocations: 313.4 kB / 0.9224 GB, free: 9.742 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/0.9647, allocations: 5.475 MB / 0.9277 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002825/0.9676, allocations: 2.203 MB / 0.9299 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006479/0.9683, allocations: 91.42 kB / 0.93 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of SimCode: time 1.282e-06/0.9683, allocations: 0 / 0.93 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of Templates: time 0.04266/1.011, allocations: 27.72 MB / 0.957 GB, free: 6.152 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)